com.atlassian.bamboo.exception
Class WebValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.atlassian.bamboo.exception.WebValidationException
- All Implemented Interfaces:
- Serializable
public class WebValidationException
- extends Exception
Exception to indicate problems with data provided. You should only use this exception in the case of normal operation
or 'expected' problems with the data. i.e. validation errors.
Contains errorCollection for easy communication back to user.
- See Also:
- Serialized Form
WebValidationException
public WebValidationException(ErrorCollection errorCollection)
WebValidationException
public WebValidationException(String field,
String message)
WebValidationException
public WebValidationException(String message)
WebValidationException
public WebValidationException()
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
getErrorCollection
public ErrorCollection getErrorCollection()
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.