Package org.everit.json.schema
Class SchemaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.everit.json.schema.SchemaException
- All Implemented Interfaces:
Serializable
Thrown by
SchemaLoader.load() when it encounters
un-parseable schema JSON definition.- Author:
- erosb
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSchemaException(String message) Deprecated.SchemaException(String schemaLocation, Class<?> actualType, Class<?> expectedType, Class<?>... furtherExpectedTypes) SchemaException(String key, Class<?> expectedType, Object actualValue) Deprecated.SchemaException(String schemaLocation, Class<?> actualType, Collection<Class<?>> expectedTypes) SchemaException(String schemaLocation, Exception cause) SchemaException(String schemaLocation, String message) SchemaException(String message, Throwable cause) Deprecated.SchemaException(String key, List<Class<?>> expectedTypes, Object actualValue) Deprecated. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SchemaException
-
SchemaException
-
SchemaException
public SchemaException(String schemaLocation, Class<?> actualType, Collection<Class<?>> expectedTypes) -
SchemaException
-
SchemaException
Deprecated. -
SchemaException
Deprecated. -
SchemaException
Deprecated. -
SchemaException
Deprecated.
-
-
Method Details