-
- All Superinterfaces:
ErrorHandler
,ErrorListener
- All Known Implementing Classes:
ConsoleErrorReporter
,ErrorReceiver
,ErrorReceiverFilter
,XJCListener
public interface ErrorListener extends ErrorListener
Implemented by the driver of the compiler engine to handle errors found during the compiliation.This class implements
ErrorHandler
so it can be passed to anywhere whereErrorHandler
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.
- Author:
- Kohsuke Kawaguchi ([email protected])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
error
void error(SAXParseException exception)
- Specified by:
error
in interfaceErrorHandler
- Specified by:
error
in interfaceErrorListener
-
fatalError
void fatalError(SAXParseException exception)
- Specified by:
fatalError
in interfaceErrorHandler
- Specified by:
fatalError
in interfaceErrorListener
-
warning
void warning(SAXParseException exception)
- Specified by:
warning
in interfaceErrorHandler
- Specified by:
warning
in interfaceErrorListener
-
info
void info(SAXParseException exception)
Used to report possibly verbose information that can be safely ignored.- Specified by:
info
in interfaceErrorListener
-
-