Package com.sdicons.json.validator
Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sdicons.json.validator.ValidationException
- All Implemented Interfaces:
Serializable
The exception is thrown when a validation fails.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionValidationException
(JSONValue aCulprit, String aRule) ValidationException
(String aComments, JSONValue aCulprit, String aRule) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
culprit
-
validationRule
-
-
Constructor Details
-
ValidationException
-
ValidationException
-
-
Method Details
-
getCulprit
-
getValidationRule
-
getMessage
- Overrides:
getMessage
in classThrowable
-