Class SchemaViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.clumd.projects.javajson.exceptions.JsonException
com.clumd.projects.javajson.exceptions.SchemaException
com.clumd.projects.javajson.exceptions.schema.SchemaViolationException
- All Implemented Interfaces:
Serializable
This exception is used validating a JSON object against a schema,
a violation of one of the Schema's constraints was found.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSchemaViolationException(String reasonForInvalidity) SchemaViolationException(String reasonForInvalidity, Throwable subException) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SchemaViolationException
-
SchemaViolationException
-