|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface 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 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.
| Method Summary | |
|---|---|
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)
|
| Method Detail |
|---|
void error(org.xml.sax.SAXParseException exception)
error in interface org.xml.sax.ErrorHandlererror in interface com.sun.xml.bind.api.ErrorListenervoid fatalError(org.xml.sax.SAXParseException exception)
fatalError in interface org.xml.sax.ErrorHandlerfatalError in interface com.sun.xml.bind.api.ErrorListenervoid warning(org.xml.sax.SAXParseException exception)
warning in interface org.xml.sax.ErrorHandlerwarning in interface com.sun.xml.bind.api.ErrorListenervoid info(org.xml.sax.SAXParseException exception)
info in interface com.sun.xml.bind.api.ErrorListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||