Class X4OErrorHandler
java.lang.Object
org.x4o.xml.io.X4OErrorHandler
- All Implemented Interfaces:
ErrorHandler
X4OErrorHandler prints the SAX2 Errors and Warsnings when parsing xml.
- Version:
- 1.0 Feb 8, 2007
- Author:
- Willem Cazander
-
Constructor Summary
ConstructorsConstructorDescriptionX4OErrorHandler
(X4OLanguageSession languageSession, SAX3PropertyConfig propertyConfig) Construct a new SAXErrorPrinter -
Method Summary
Modifier and TypeMethodDescriptionvoid
error
(SAXParseException exception) Receive notification of a SAX recoverable error.void
fatalError
(SAXParseException exception) Receive notification of a SAX non-recoverable error.void
warning
(SAXParseException exception) Receive notification of a SAX warning.
-
Constructor Details
-
X4OErrorHandler
Construct a new SAXErrorPrinter- Parameters:
languageSession
- The language to get errors to.
-
-
Method Details
-
warning
Receive notification of a SAX warning.- Specified by:
warning
in interfaceErrorHandler
- Throws:
SAXException
-
error
Receive notification of a SAX recoverable error.- Specified by:
error
in interfaceErrorHandler
- Throws:
SAXException
-
fatalError
Receive notification of a SAX non-recoverable error.- Specified by:
fatalError
in interfaceErrorHandler
- Throws:
SAXException
-