public class SchemaException extends RuntimeException
SchemaLoader.load()
when it encounters
un-parseable schema JSON definition.Constructor and Description |
---|
SchemaException(String message)
Deprecated.
|
SchemaException(String schemaLocation,
Class<?> actualType,
Class<?> expectedType,
Class<?>... furtherExpectedTypes) |
SchemaException(String schemaLocation,
Class<?> actualType,
Collection<Class<?>> expectedTypes) |
SchemaException(String key,
Class<?> expectedType,
Object actualValue)
Deprecated.
|
SchemaException(String schemaLocation,
Exception cause) |
SchemaException(String key,
List<Class<?>> expectedTypes,
Object actualValue)
Deprecated.
|
SchemaException(String schemaLocation,
String message) |
SchemaException(String message,
Throwable cause)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getSchemaLocation() |
int |
hashCode() |
org.json.JSONObject |
toJSON() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SchemaException(String schemaLocation, Class<?> actualType, Class<?> expectedType, Class<?>... furtherExpectedTypes)
public SchemaException(String schemaLocation, Class<?> actualType, Collection<Class<?>> expectedTypes)
@Deprecated public SchemaException(String message)
@Deprecated public SchemaException(String key, Class<?> expectedType, Object actualValue)
@Deprecated public SchemaException(String key, List<Class<?>> expectedTypes, Object actualValue)
@Deprecated public SchemaException(String message, Throwable cause)
Copyright © 2019 Everit Kft.. All rights reserved.