Interface ValidatorErrorHandler
- All Superinterfaces:
ErrorHandler
- All Known Implementing Classes:
DefaultValidationErrorHandler
Validator error handler.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleErrors
(org.apache.camel.Exchange exchange, Schema schema, Result result) Process any errors which may have occurred during validationvoid
reset()
Resets any state within this error handlerMethods inherited from interface org.xml.sax.ErrorHandler
error, fatalError, warning
-
Method Details
-
reset
void reset()Resets any state within this error handler -
handleErrors
void handleErrors(org.apache.camel.Exchange exchange, Schema schema, Result result) throws org.apache.camel.ValidationException Process any errors which may have occurred during validation- Parameters:
exchange
- the exchangeschema
- the schemaresult
- the result- Throws:
org.apache.camel.ValidationException
- is thrown in case of validation errors
-