org.xml.sax.ErrorHandlerpublic class DraconianErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler
ErrorHandler implementing a brutal error handling policy.
Fatal errors and errors are handled by throwing the exception.
Warnings are ignored.| Constructor | Description |
|---|---|
DraconianErrorHandler() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
error(org.xml.sax.SAXParseException e) |
|
void |
fatalError(org.xml.sax.SAXParseException e) |
|
void |
warning(org.xml.sax.SAXParseException e) |
public void warning(org.xml.sax.SAXParseException e)
throws org.xml.sax.SAXException
warning in interface org.xml.sax.ErrorHandlerorg.xml.sax.SAXExceptionpublic void error(org.xml.sax.SAXParseException e)
throws org.xml.sax.SAXException
error in interface org.xml.sax.ErrorHandlerorg.xml.sax.SAXExceptionpublic void fatalError(org.xml.sax.SAXParseException e)
throws org.xml.sax.SAXException
fatalError in interface org.xml.sax.ErrorHandlerorg.xml.sax.SAXException