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 ErrorHandler
void fatalError(SAXParseException exception)
fatalError
in interface ErrorHandler
void warning(SAXParseException exception)
warning
in interface ErrorHandler
void info(SAXParseException exception)
Copyright © 2021 JBoss by Red Hat. All rights reserved.