Class InvalidSchemaException
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.InvalidSchemaException
- All Implemented Interfaces:
Serializable
public class InvalidSchemaException extends SchemaException
This exception is used when a provided schema, IS valid JSON, but is NOT a valid Schema.
E.g. Missing out a required property on a schema constraint.
- See Also:
JsonException,SchemaViolationException, Serialized Form
-
Constructor Summary
Constructors Constructor Description InvalidSchemaException(String reasonForInvalidity)InvalidSchemaException(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