Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.flowingcode.backendcore.exception.BaseException
com.flowingcode.backendcore.validation.ValidationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CreationValidationException,DeletionValidationException,UpdateValidationException
Exception representing business rules validations fails
- Author:
- mlopez
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValidationException(String messageKey) ValidationException(String messageKey, Object... messageKeyValues) ValidationException(Throwable cause) ValidationException(Throwable cause, ErrorDescription error) ValidationException(Throwable cause, String messageKey, Object... messageKeyValues) ValidationException(Throwable cause, List<ErrorDescription> errors) ValidationException(List<ErrorDescription> errors) -
Method Summary
Methods inherited from class com.flowingcode.backendcore.exception.BaseException
addError, getErrors, getMessageKey, getMessageKeyValuesMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationException
public ValidationException() -
ValidationException
-
ValidationException
-
ValidationException
-
ValidationException
-
ValidationException
-
ValidationException
-
ValidationException
-
-
Method Details
-
newInstance
- Specified by:
newInstancein classBaseException
-