public class ExceptionHandlerContext extends Object
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.
Constructor and Description |
---|
ExceptionHandlerContext(String runtimeURI,
Throwable throwable,
String deploymentId,
String statementName,
String epl,
ExceptionHandlerExceptionType type,
EventBean currentEvent)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
EventBean |
getCurrentEvent()
Returns the current event, when available.
|
String |
getDeploymentId()
Returns the deployment id
|
String |
getEpl()
Returns the expression text of the statement.
|
String |
getRuntimeURI()
Returns the runtime URI.
|
String |
getStatementName()
Returns the statement name, if provided, or the statement id assigned to the statement if no name was provided.
|
Throwable |
getThrowable()
Returns the exception.
|
ExceptionHandlerExceptionType |
getType()
Returns exception type information
|
public ExceptionHandlerContext(String runtimeURI, Throwable throwable, String deploymentId, String statementName, String epl, ExceptionHandlerExceptionType type, EventBean currentEvent)
runtimeURI
- runtime URIthrowable
- exceptiondeploymentId
- deployment idstatementName
- statement nameepl
- statement EPL expression texttype
- exception typecurrentEvent
- the event when applicablepublic String getRuntimeURI()
public Throwable getThrowable()
public String getStatementName()
public String getEpl()
public ExceptionHandlerExceptionType getType()
public EventBean getCurrentEvent()
public String getDeploymentId()
Copyright © 2005–2018. All rights reserved.