public class ValidationException extends RuntimeException
| Constructor and Description |
|---|
ValidationException(String message,
List<ValidationException> causingExceptions,
String keyword,
String schemaPointer) |
ValidationException(String message,
String schemaPointer,
Exception cause) |
ValidationException(String message,
String keyword,
String schemaPointer) |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildFullExceptionMessage(ValidationException e)
Build an exception message containing all nested exceptions
|
static ValidationException |
newScrubbedException(org.everit.json.schema.ValidationException e)
/** In order to ensure sensitive properties aren't displayed, scrub any error
messages that emit property values
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ValidationException(String message, String keyword, String schemaPointer)
public ValidationException(String message, String schemaPointer, Exception cause)
public ValidationException(String message, List<ValidationException> causingExceptions, String keyword, String schemaPointer)
public static ValidationException newScrubbedException(org.everit.json.schema.ValidationException e)
e - The exception to redactValidationExceptionpublic static String buildFullExceptionMessage(ValidationException e)
e - the exception to construct a message fromValidationException treeCopyright © 2019 Amazon Web Services, Inc. All Rights Reserved.