|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ErrorHandler
This interface defines the capabilities of an error handler. The error handler is invoked in the interpreter when an exception is caught. The error handler can be used to clear things up such that the processing can be continued.
| Method Summary | |
|---|---|
boolean |
handleError(GeneralException e,
Token token,
TokenSource source,
Context context)
This is the error handling callback. |
void |
setEditHandler(EditHandler editHandler)
Setter for the edit handler. |
| Method Detail |
|---|
boolean handleError(GeneralException e,
Token token,
TokenSource source,
Context context)
throws HelpingException
e - the exception which has led to the invocationtoken - the token leading to the errorsource - the token sourcecontext - the processor context
true iff the processing can continue
HelpingException - in case of en errorvoid setEditHandler(EditHandler editHandler)
editHandler - the new edit handler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||