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
public class SchemaException extends RuntimeException
Thrown bySchemaLoader.load()
when it encounters un-parseable schema JSON definition.- Author:
- erosb
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SchemaException(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 Detail
-
SchemaException
public SchemaException(String schemaLocation, Class<?> actualType, Class<?> expectedType, Class<?>... furtherExpectedTypes)
-
SchemaException
public SchemaException(String schemaLocation, Class<?> actualType, Collection<Class<?>> expectedTypes)
-
SchemaException
@Deprecated public SchemaException(String message)
Deprecated.
-
SchemaException
@Deprecated public SchemaException(String key, Class<?> expectedType, Object actualValue)
Deprecated.
-
SchemaException
@Deprecated public SchemaException(String key, List<Class<?>> expectedTypes, Object actualValue)
Deprecated.
-
SchemaException
@Deprecated public SchemaException(String message, Throwable cause)
Deprecated.
-
-