Class JsonSchemaValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.vertx.json.schema.JsonSchemaValidationException
- All Implemented Interfaces:
Serializable
This is the main class for every JsonSchemaValidation flow related errors
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJsonSchemaValidationException(String message, String location, OutputErrorType errorType, StackTraceElement stackTraceElement) JsonSchemaValidationException(String message, Throwable cause, String location, OutputErrorType errorType) JsonSchemaValidationException(String message, Throwable cause, String location, OutputErrorType errorType, StackTraceElement stackTraceElement) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JsonSchemaValidationException
public JsonSchemaValidationException(String message, Throwable cause, String location, OutputErrorType errorType) -
JsonSchemaValidationException
public JsonSchemaValidationException(String message, String location, OutputErrorType errorType, StackTraceElement stackTraceElement) -
JsonSchemaValidationException
public JsonSchemaValidationException(String message, Throwable cause, String location, OutputErrorType errorType, StackTraceElement stackTraceElement)
-
-
Method Details
-
location
- Returns:
- the location that failed the validation, if any
-
errorType
- Returns:
- our best guess on what the validation error type is.
-