Class DefaultErrorHandler
java.lang.Object
org.eclipse.persistence.platform.xml.DefaultErrorHandler
- All Implemented Interfaces:
ErrorHandler
INTERNAL:
A default implementation of ErrorHandler that simply rethrows the SAXParseExceptions. This works around
an issue that can result in a NPE when setting a Schema on a parser without setting an Error Handler.
- Author:
- mmacivor
-
Method Summary
-
Method Details
-
getInstance
-
error
- Specified by:
error
in interfaceErrorHandler
- Throws:
SAXParseException
-
warning
- Specified by:
warning
in interfaceErrorHandler
- Throws:
SAXParseException
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Throws:
SAXParseException
-