Interface ValidatorErrorHandler

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