Interface ValidatorErrorHandler

All Superinterfaces:
ErrorHandler
All Known Implementing Classes:
DefaultValidationErrorHandler

public interface ValidatorErrorHandler extends ErrorHandler
Validator error handler.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleErrors(org.apache.camel.Exchange exchange, Schema schema, Result result)
    Process any errors which may have occurred during validation
    void
    Resets any state within this error handler

    Methods 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 exchange
      schema - the schema
      result - the result
      Throws:
      org.apache.camel.ValidationException - is thrown in case of validation errors