Interface ValidatorErrorHandler
-
- All Superinterfaces:
ErrorHandler
- All Known Implementing Classes:
DefaultValidationErrorHandler
public interface ValidatorErrorHandler extends ErrorHandler
Validator error handler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 handler-
Methods inherited from interface org.xml.sax.ErrorHandler
error, fatalError, warning
-
-
-
-
Method Detail
-
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
-
-