Package org.apache.ofbiz.base.util
Class UtilXml.LocalErrorHandler
java.lang.Object
org.apache.ofbiz.base.util.UtilXml.LocalErrorHandler
- All Implemented Interfaces:
ErrorHandler
- Enclosing class:
- UtilXml
Local error handler for entity resolver to DocumentBuilder parser.
Error is printed to output just if DTD was detected in the XML file.
-
Constructor Summary
ConstructorDescriptionLocalErrorHandler
(String docDescription, UtilXml.LocalResolver localResolver) -
Method Summary
Modifier and TypeMethodDescriptionvoid
error
(SAXParseException exception) void
fatalError
(SAXParseException exception) void
warning
(SAXParseException exception)
-
Constructor Details
-
LocalErrorHandler
-
-
Method Details
-
error
- Specified by:
error
in interfaceErrorHandler
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
-
warning
- Specified by:
warning
in interfaceErrorHandler
-