Package org.dizitart.no2.exceptions
Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.dizitart.no2.exceptions.NitriteException
org.dizitart.no2.exceptions.ValidationException
- All Implemented Interfaces:
Serializable
Exception thrown when a validation error occurs.
- Since:
- 1.0
- Author:
- Anindya Chatterjee.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValidationException(String errorMessage) Instantiates a newValidationException.ValidationException(String errorMessage, Throwable cause) Instantiates a newValidationException. -
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
Instantiates a newValidationException.- Parameters:
errorMessage- the error message
-
ValidationException
Instantiates a newValidationException.- Parameters:
errorMessage- the error messagecause- the cause
-