-
- All Superinterfaces:
ErrorHandler
public interface ErrorListener extends ErrorHandler
Implemented by the driver of the compiler engine to handle errors found during the compiliation.This class implements
ErrorHandlerso it can be passed to anywhere whereErrorHandleris 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.
- Since:
- 2.1 EA2
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiderror(SAXParseException exception)voidfatalError(SAXParseException exception)voidinfo(SAXParseException exception)Used to report possibly verbose information that can be safely ignored.voidwarning(SAXParseException exception)
-
-
-
Method Detail
-
error
void error(SAXParseException exception)
- Specified by:
errorin interfaceErrorHandler
-
fatalError
void fatalError(SAXParseException exception)
- Specified by:
fatalErrorin interfaceErrorHandler
-
warning
void warning(SAXParseException exception)
- Specified by:
warningin interfaceErrorHandler
-
info
void info(SAXParseException exception)
Used to report possibly verbose information that can be safely ignored.
-
-