|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Classes implementing this interface can react on errors raised by the parser. A specific parser may have several instances of ParserListeners.
The most typical implementation of a listener is the one printing the error
message to the standard error stream. This implementation is also at disposal
(see ParserListenerAdapter
class).
This interface is on the 'receiving end' of parser errors. Errors are raised
through the ParserError
interface, typically implemented by the parsers.
ParserError
,
ParserListenerAdapter
Method Summary | |
void |
parserError(java.lang.String message)
Parser Error |
void |
parserFatalError(java.lang.String message)
Parser Fatal Error |
void |
parserWarning(java.lang.String message)
Parser Warning. |
Method Detail |
public void parserWarning(java.lang.String message)
message
- warning messagepublic void parserError(java.lang.String message)
message
- error messagepublic void parserFatalError(java.lang.String message)
message
- error message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |