Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.craftercms.commons.validation.ValidationException
- All Implemented Interfaces:
Serializable
,ValidationResultAware
Exception thrown when validation fails.
- Author:
- avasquez
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionValidationException
(String message) ValidationException
(ValidationResult result) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
result
-
-
Constructor Details
-
ValidationException
-
ValidationException
-
-
Method Details
-
getResult
- Specified by:
getResult
in interfaceValidationResultAware
-
getMessage
- Overrides:
getMessage
in classThrowable
-