Package com.qulice.spi
Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.qulice.spi.ValidationException
- All Implemented Interfaces:
Serializable
Exception thrown by a validator, if it fails.
- Since:
- 0.3
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValidationException
(String text, Object... args) Public ctor.ValidationException
(Throwable cause) Public ctor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationException
Public ctor.- Parameters:
text
- The text of the exceptionargs
- Optional arguments for String.format()
-
ValidationException
Public ctor.- Parameters:
cause
- The cause of exception
-