|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public boolean handleError(GeneralException e, Token token, TokenSource source, Context context) throws InterpreterException
e
- the exception which has led to the invokationtoken
- the token leading to the errorsource
- the token sourcecontext
- the processor context
true
iff the processing can continue
InterpreterException
- in case of a problempublic void setEditHandler(EditHandler editHandler)
editHandler
- the new edit handler
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |