org.xml.sax.ErrorHandler
public 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.ErrorHandler
org.xml.sax.SAXException
public void error(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
error
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
public void fatalError(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException