org.xml.sax.ErrorHandlerpublic interface ErrorListener
extends org.xml.sax.ErrorHandler
This class implements ErrorHandler so it can be
passed to anywhere where ErrorHandler is expected.
However, to make the error handling easy (and make it work with visitor patterns nicely), this interface is not allowed to abort the processing. It merely receives errors.
| Modifier and Type | Method | Description |
|---|---|---|
void |
error(org.xml.sax.SAXParseException exception) |
|
void |
fatalError(org.xml.sax.SAXParseException exception) |
|
void |
info(org.xml.sax.SAXParseException exception) |
Used to report possibly verbose information that
can be safely ignored.
|
void |
warning(org.xml.sax.SAXParseException exception) |
void error(org.xml.sax.SAXParseException exception)
error in interface org.xml.sax.ErrorHandlervoid fatalError(org.xml.sax.SAXParseException exception)
fatalError in interface org.xml.sax.ErrorHandlervoid warning(org.xml.sax.SAXParseException exception)
warning in interface org.xml.sax.ErrorHandlervoid info(org.xml.sax.SAXParseException exception)
Copyright © 2017 Oracle Corporation. All rights reserved.