public class DefaultJsonValidationErrorHandler extends Object implements JsonValidatorErrorHandler
| Constructor and Description |
|---|
DefaultJsonValidationErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleErrors(org.apache.camel.Exchange exchange,
org.everit.json.schema.Schema schema,
Exception e)
Process any errors which may have occurred during validation
|
void |
reset()
Resets any state within this error handler
|
public void reset()
JsonValidatorErrorHandlerreset in interface JsonValidatorErrorHandlerpublic void handleErrors(org.apache.camel.Exchange exchange,
org.everit.json.schema.Schema schema,
Exception e)
throws org.apache.camel.ValidationException
JsonValidatorErrorHandlerhandleErrors in interface JsonValidatorErrorHandlerexchange - the exchangeschema - the schemae - the exception triggering the errororg.apache.camel.ValidationException - is thrown in case of validation errorsApache Camel