Click or drag to resize

com.espertech.esper.common.client.hook.exception Namespace

[Missing <summary> documentation for "N:com.espertech.esper.common.client.hook.exception"]

Classes
  ClassDescription
Public classExceptionHandler
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.

Handle the exception as contained in the context object passed.

Public classExceptionHandlerContext
Context provided to ExceptionHandler implementations providing exception-contextual information as well as the exception itself.

Statement information pertains to the statement currently being processed when the unchecked exception occured.

Public classExceptionHandlerContextUnassociated
Context provided to implementations providing exception-contextual information as well as the exception itself, for use with inbound pools and for exceptions unassociated to statements when using inbound pools.
Public classExceptionHandlerEventArgs
Event data for exception handling.
Public classExceptionHandlerExceptionType
Indicates the phase during which and exception was encountered.
Public classExceptionHandlerFactoryContext
Context provided to ExceptionHandlerFactory implementations providing runtime contextual information.
Public classExceptionHandlerInboundPool
Extends the with a method to, for the inbound-pool threading configuration, handle exceptions that are not associated to a specific statement i.e. sharable-filter processing exceptions.

For use with inbound-thread-pool only, when the engine evaluates events as shared filters and not associated to any statements, the engine passes the exception to this method.

Interfaces
  InterfaceDescription
Public interfaceExceptionHandlerFactory
Factory for exception handler Instance(s).

Receives CEP engine contextual information and should return an implementation of the ExceptionHandler interface.