Class ExceptionHandlerContextUnassociated

java.lang.Object
com.espertech.esper.common.client.hook.exception.ExceptionHandlerContextUnassociated

public class ExceptionHandlerContextUnassociated extends Object
Context provided to ExceptionHandler 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.
  • Constructor Details

    • ExceptionHandlerContextUnassociated

      public ExceptionHandlerContextUnassociated(String runtimeURI, Throwable throwable, Object currentEvent)
      Ctor.
      Parameters:
      runtimeURI - runtime URI
      throwable - exception
      currentEvent - the event when applicable
  • Method Details

    • getRuntimeURI

      public String getRuntimeURI()
      Returns the runtime URI.
      Returns:
      runtime URI
    • getThrowable

      public Throwable getThrowable()
      Returns the exception.
      Returns:
      exception
    • getCurrentEvent

      public Object getCurrentEvent()
      Returns the current event, when available.
      Returns:
      current event or null if not available