Package org.apache.openjpa.lib.xml
Class ValidatingErrorHandler
java.lang.Object
org.apache.openjpa.lib.xml.ValidatingErrorHandler
- All Implemented Interfaces:
ErrorHandler
ErrorHandler implementation which overrides the default
behavior of ignoring parse errors to throw a
SAXException
instead.
This handler is used by the validating parsers of the XMLFactory
.- Author:
- Abe White
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
-
Constructor Details
-
ValidatingErrorHandler
public ValidatingErrorHandler()
-
-
Method Details
-
warning
- Specified by:
warning
in interfaceErrorHandler
- Throws:
SAXException
-
error
- Specified by:
error
in interfaceErrorHandler
- Throws:
SAXException
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Throws:
SAXException
-