Package org.postgresql.xml
Class NullErrorHandler
- java.lang.Object
-
- org.postgresql.xml.NullErrorHandler
-
- All Implemented Interfaces:
ErrorHandler
public class NullErrorHandler extends Object implements ErrorHandler
Error handler that silently suppresses all errors.
-
-
Field Summary
Fields Modifier and Type Field Description static NullErrorHandler
INSTANCE
-
Constructor Summary
Constructors Constructor Description NullErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(SAXParseException e)
void
fatalError(SAXParseException e)
void
warning(SAXParseException e)
-
-
-
Field Detail
-
INSTANCE
public static final NullErrorHandler INSTANCE
-
-
Method Detail
-
error
public void error(SAXParseException e)
- Specified by:
error
in interfaceErrorHandler
-
fatalError
public void fatalError(SAXParseException e)
- Specified by:
fatalError
in interfaceErrorHandler
-
warning
public void warning(SAXParseException e)
- Specified by:
warning
in interfaceErrorHandler
-
-