public interface ValidatorErrorHandler extends ErrorHandler
Modifier and Type | Method and Description |
---|---|
void |
handleErrors(Exchange exchange,
Schema schema,
Result result)
Process any errors which may have occurred during validation
|
void |
reset()
Resets any state within this error handler
|
error, fatalError, warning
void reset()
void handleErrors(Exchange exchange, Schema schema, Result result) throws ValidationException
exchange
- the exchangeschema
- the schemaresult
- the resultValidationException
- is thrown in case of validation errorsApache Camel