public class DefaultTransformErrorHandler extends Object implements ErrorHandler, ErrorListener
ErrorHandler
and ErrorListener
which will log warnings,
and throws error and fatal as exception, which ensures those can be caught by Camel and dealt-with.Constructor and Description |
---|
DefaultTransformErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
error(SAXParseException exception) |
void |
error(TransformerException exception) |
void |
fatalError(SAXParseException exception) |
void |
fatalError(TransformerException exception) |
void |
warning(SAXParseException exception) |
void |
warning(TransformerException exception) |
public DefaultTransformErrorHandler()
public void error(SAXParseException exception) throws SAXException
error
in interface ErrorHandler
SAXException
public void fatalError(SAXParseException exception) throws SAXException
fatalError
in interface ErrorHandler
SAXException
public void warning(SAXParseException exception) throws SAXException
warning
in interface ErrorHandler
SAXException
public void error(TransformerException exception) throws TransformerException
error
in interface ErrorListener
TransformerException
public void fatalError(TransformerException exception) throws TransformerException
fatalError
in interface ErrorListener
TransformerException
public void warning(TransformerException exception) throws TransformerException
warning
in interface ErrorListener
TransformerException
Apache Camel