Package com.networknt.schema
Class JsonSchemaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.networknt.schema.JsonSchemaException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidSchemaException
public class JsonSchemaException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonSchemaException(ValidationMessage validationMessage)
JsonSchemaException(String message)
JsonSchemaException(Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
ValidationMessage
getValidationMessage()
Set<ValidationMessage>
getValidationMessages()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
JsonSchemaException
public JsonSchemaException(ValidationMessage validationMessage)
-
JsonSchemaException
public JsonSchemaException(String message)
-
JsonSchemaException
public JsonSchemaException(Throwable throwable)
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getValidationMessage
public ValidationMessage getValidationMessage()
-
getValidationMessages
public Set<ValidationMessage> getValidationMessages()
-
-