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
public class SchemaViolationException extends SchemaException
This exception is used validating a JSON object against a schema,
a violation of one of the Schema's constraints was found.
- See Also:
JsonException,InvalidSchemaException, Serialized Form
-
Constructor Summary
Constructors Constructor Description SchemaViolationException(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