public class DefaultValidationErrorHandler extends Object implements ValidatorErrorHandler
| Constructor and Description |
|---|
DefaultValidationErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(SAXParseException e) |
void |
fatalError(SAXParseException e) |
void |
handleErrors(Exchange exchange,
Object schema) |
void |
handleErrors(Exchange exchange,
Schema schema,
Result result)
Process any errors which may have occurred during validation
|
boolean |
isValid() |
void |
reset()
Resets any state within this error handler
|
void |
warning(SAXParseException e) |
public void warning(SAXParseException e) throws SAXException
warning in interface ErrorHandlerSAXExceptionpublic void error(SAXParseException e) throws SAXException
error in interface ErrorHandlerSAXExceptionpublic void fatalError(SAXParseException e) throws SAXException
fatalError in interface ErrorHandlerSAXExceptionpublic void reset()
ValidatorErrorHandlerreset in interface ValidatorErrorHandlerpublic boolean isValid()
public void handleErrors(Exchange exchange, Schema schema, Result result) throws ValidationException
ValidatorErrorHandlerhandleErrors in interface ValidatorErrorHandlerexchange - the exchangeschema - the schemaresult - the resultValidationException - is thrown in case of validation errorspublic void handleErrors(Exchange exchange, Object schema) throws ValidationException
ValidationExceptionApache Camel