Package com.thaiopensource.xml.sax
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
-
Constructor Details
-
DraconianErrorHandler
public DraconianErrorHandler()
-
-
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
-