|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides externalisation of internal, unexpected errors.
Most exceptions which may occur for valid reasons within jASEN are thrown back to the calling application, however there are a few limited cases where an exception should not break the execution of a scan.
In such cases, the exception is passed to the error handler defined for the engine, and can then be handled externally (logged, discarded etc)
The default error handler for the engine is the SystemErrorHandler which simple prints error traces to System.err
NOTE: Because of the synchronous nature of this error reporting, it is VERY important that implementors do not
block for a long period of time on the handleException method.
If so, the entire engine may block while waiting for the notification to exit
Method Summary | |
void |
handleException(Exception e)
Called when an internal and unexpected, or inert error is thrown |
Method Detail |
public void handleException(Exception e)
e
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |