public static class XmlParseUtil.ThrowingErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler
ErrorHandler
implementation that always
throws the SAXParseException
.Constructor and Description |
---|
ThrowingErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
error(org.xml.sax.SAXParseException exception) |
void |
fatalError(org.xml.sax.SAXParseException exception) |
void |
warning(org.xml.sax.SAXParseException exception) |
public void error(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
error
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
public void fatalError(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
public void warning(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
warning
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException