Class NullErrorHandler
- java.lang.Object
-
- org.symphonyoss.symphony.messageml.util.NullErrorHandler
-
- All Implemented Interfaces:
ErrorHandler
public class NullErrorHandler extends Object implements ErrorHandler
An error handler which makesDocumentBuilderfail silently instead of printing error messages to stdout.- Since:
- 3/24/17
- Author:
- lukasz
-
-
Constructor Summary
Constructors Constructor Description NullErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(SAXParseException exception)voidfatalError(SAXParseException exception)voidwarning(SAXParseException exception)
-
-
-
Method Detail
-
warning
public void warning(SAXParseException exception) throws SAXException
- Specified by:
warningin interfaceErrorHandler- Throws:
SAXException
-
error
public void error(SAXParseException exception) throws SAXException
- Specified by:
errorin interfaceErrorHandler- Throws:
SAXException
-
fatalError
public void fatalError(SAXParseException exception) throws SAXException
- Specified by:
fatalErrorin interfaceErrorHandler- Throws:
SAXException
-
-