Package com.atlassian.bamboo.exception
Class WebValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.atlassian.bamboo.exception.WebValidationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DefaultWebValidationException
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:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionWebValidationException
(ErrorCollection errorCollection) Deprecated.WebValidationException
(String message) WebValidationException
(String field, String message) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
errorCollection
-
-
Constructor Details
-
WebValidationException
Deprecated.since 5.10 useDefaultWebValidationException
instead -
WebValidationException
-
WebValidationException
-
WebValidationException
public WebValidationException()
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getErrorCollection
-
DefaultWebValidationException
instead