Package com.qulice.spi
Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.qulice.spi.ValidationException
-
- All Implemented Interfaces:
Serializable
public final class ValidationException extends Exception
Exception thrown by a validator, if it fails.- Since:
- 0.3
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationException(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 Detail
-
ValidationException
public ValidationException(String text, Object... args)
Public ctor.- Parameters:
text
- The text of the exceptionargs
- Optional arguments for String.format()
-
ValidationException
public ValidationException(Throwable cause)
Public ctor.- Parameters:
cause
- The cause of exception
-
-