public class IgnoreAllErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler
ErrorHandler implementation that does nothing, i.e., ignores all
error events.
Note: This is not entirely appropriate, as
fatalError(SAXParseException) handling should throw a
SAXException
| Constructor and Description |
|---|
IgnoreAllErrorHandler()
Create a new instance.
|
| 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.ErrorHandlerorg.xml.sax.SAXExceptionErrorHandler.error(org.xml.sax.SAXParseException)public void fatalError(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
fatalError in interface org.xml.sax.ErrorHandlerorg.xml.sax.SAXExceptionErrorHandler.fatalError(org.xml.sax.SAXParseException)public void warning(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
warning in interface org.xml.sax.ErrorHandlerorg.xml.sax.SAXExceptionErrorHandler.warning(org.xml.sax.SAXParseException)