Package org.jbpm.workflow.instance
Class WorkflowRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jbpm.workflow.instance.WorkflowRuntimeException
- All Implemented Interfaces:
Serializable
This exception provides the context information of the error in execution of the flow.
It would be helpful to located the error instead of confusing stack trace
It would be helpful to located the error instead of confusing stack trace
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowRuntimeException(KogitoNodeInstance nodeInstance, KogitoProcessInstance processInstance, Exception e) WorkflowRuntimeException(KogitoNodeInstance nodeInstance, KogitoProcessInstance processInstance, String message) WorkflowRuntimeException(KogitoNodeInstance nodeInstance, KogitoProcessInstance processInstance, String message, Throwable e) -
Method Summary
Modifier and TypeMethodDescriptionorg.kie.api.definition.process.WorkflowElementIdentifiervoidsetDeploymentId(String deploymentId) voidsetNodeId(org.kie.api.definition.process.WorkflowElementIdentifier nodeId) voidsetNodeInstanceId(String nodeInstanceId) voidsetNodeName(String nodeName) voidsetProcessId(String processId) voidsetProcessInstanceId(String processInstanceId) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WorkflowRuntimeException
public WorkflowRuntimeException(KogitoNodeInstance nodeInstance, KogitoProcessInstance processInstance, String message) -
WorkflowRuntimeException
public WorkflowRuntimeException(KogitoNodeInstance nodeInstance, KogitoProcessInstance processInstance, String message, Throwable e) -
WorkflowRuntimeException
public WorkflowRuntimeException(KogitoNodeInstance nodeInstance, KogitoProcessInstance processInstance, Exception e)
-
-
Method Details
-
getProcessInstanceId
- Returns:
- the processInstanceId
-
setProcessInstanceId
- Parameters:
processInstanceId- the processInstanceId to set
-
getProcessId
- Returns:
- the processId
-
setProcessId
- Parameters:
processId- the processId to set
-
getNodeInstanceId
- Returns:
- the nodeInstanceId
-
setNodeInstanceId
- Parameters:
nodeInstanceId- the nodeInstanceId to set
-
getNodeId
public org.kie.api.definition.process.WorkflowElementIdentifier getNodeId()- Returns:
- the nodeId
-
setNodeId
public void setNodeId(org.kie.api.definition.process.WorkflowElementIdentifier nodeId) - Parameters:
nodeId- the nodeId to set
-
getNodeName
- Returns:
- the nodeName
-
setNodeName
- Parameters:
nodeName- the nodeName to set
-
getVariables
-
getMessage
- Overrides:
getMessagein classThrowable
-
getDeploymentId
-
setDeploymentId
-