Package | Description |
---|---|
org.everit.json.schema | |
org.everit.json.schema.event |
Modifier and Type | Method and Description |
---|---|
protected ValidationException |
Schema.failure(Class<?> expectedType,
Object actualValue)
Deprecated.
|
protected ValidationException |
Schema.failure(String message,
String keyword)
Deprecated.
|
ValidationException |
ValidationException.prepend(String fragment)
Creates a new
ViolationException instance based on this one, but with changed
JSON pointer . |
ValidationException |
ValidationException.prepend(String fragment,
Schema violatedSchema)
Creates a new
ViolationException instance based on this one, but with changed
JSON pointer and {link violated
schema . |
Modifier and Type | Method and Description |
---|---|
List<ValidationException> |
ValidationException.getCausingExceptions() |
Modifier and Type | Method and Description |
---|---|
static void |
ValidationException.throwFor(Schema rootFailingSchema,
List<ValidationException> failures)
Sort of static factory method.
|
Constructor and Description |
---|
ValidationException(Schema violatedSchema,
String message,
List<ValidationException> causingExceptions)
Deprecated.
use one of the constructors which explicitly specify the keyword instead
|
Modifier and Type | Method and Description |
---|---|
ValidationException |
ConditionalSchemaMismatchEvent.getFailure() |
ValidationException |
CombinedSchemaMismatchEvent.getFailure() |
ValidationException |
MismatchEvent.getFailure() |
Constructor and Description |
---|
CombinedSchemaMismatchEvent(CombinedSchema schema,
Schema subSchema,
Object instance,
ValidationException failure) |
ConditionalSchemaMismatchEvent(ConditionalSchema schema,
Object instance,
ConditionalSchemaValidationEvent.Keyword keyword,
ValidationException failure) |
Copyright © 2019 Everit Kft.. All rights reserved.