Class DefaultTransformErrorHandler

  • All Implemented Interfaces:
    ErrorListener, ErrorHandler

    public class DefaultTransformErrorHandler
    extends Object
    implements ErrorHandler, ErrorListener
    ErrorHandler and ErrorListener which will ignore warnings, and throws error and fatal as exception, which ensures those can be caught by Camel and dealt-with.

    Also any warning, error or fatal error is stored on the Exchange as a property with the keys CamelXsltWarning, CamelXsltError, and CamelXsltFatalError which allows end users to access those information form the exchange.