org.apache.camel.processor.validation
Interface ValidatorErrorHandler

All Superinterfaces:
ErrorHandler
All Known Implementing Classes:
DefaultValidationErrorHandler

public interface ValidatorErrorHandler
extends ErrorHandler

Validator error handler.

Version:

Method Summary
 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
 
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(Exchange exchange,
                  Schema schema,
                  Result result)
                  throws ValidationException
Process any errors which may have occurred during validation

Parameters:
exchange - the exchange
schema - the schema
result - the result
Throws:
ValidationException - is thrown in case of validation errors


Apache CAMEL