public interface ErrorListener extends 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 and Description |
|---|---|
void |
error(SAXParseException exception) |
void |
fatalError(SAXParseException exception) |
void |
info(SAXParseException exception)
Used to report possibly verbose information that
can be safely ignored.
|
void |
warning(SAXParseException exception) |
void error(SAXParseException exception)
error in interface ErrorHandlervoid fatalError(SAXParseException exception)
fatalError in interface ErrorHandlervoid warning(SAXParseException exception)
warning in interface ErrorHandlervoid info(SAXParseException exception)
Copyright © 2018 JBoss by Red Hat. All rights reserved.