Class DraconianErrorHandler
java.lang.Object
com.thaiopensource.xml.sax.DraconianErrorHandler
- All Implemented Interfaces:
ErrorHandler
An
ErrorHandler implementing a brutal error handling policy.
Fatal errors and errors are handled by throwing the exception.
Warnings are ignored.- Author:
- James Clark
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoid
-
Constructor Details
-
DraconianErrorHandler
public DraconianErrorHandler()
-
-
Method Details
-
warning
- Specified by:
warningin interfaceErrorHandler- Throws:
SAXException
-
error
- Specified by:
errorin interfaceErrorHandler- Throws:
SAXException
-
fatalError
- Specified by:
fatalErrorin interfaceErrorHandler- Throws:
SAXException
-