|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExceptionHandler
Interface for an exception handler.
When the engine encounters an unchecked exception processing a continous-query statement it allows any exception handler that is registered with the engine to handle the exception, in the order any handlers are registered.
On-demand queries as well as any exceptions thrown by static method invocations or event method invocations or the API other then the sendEvent method are not provided to an exception handler.
An application may throw a runtime exception in the @handle method to cancel further processing of an event against statements.
Method Summary | |
---|---|
void |
handle(ExceptionHandlerContext context)
Handle the exception as contained in the context object passed. |
Method Detail |
---|
void handle(ExceptionHandlerContext context)
context
- the exception information
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |