Class WorkflowRuntimeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jbpm.workflow.instance.WorkflowRuntimeException
All Implemented Interfaces:
Serializable

public class WorkflowRuntimeException extends RuntimeException
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
See Also:
  • Constructor Details

  • Method Details

    • getProcessInstanceId

      public String getProcessInstanceId()
      Returns:
      the processInstanceId
    • setProcessInstanceId

      public void setProcessInstanceId(String processInstanceId)
      Parameters:
      processInstanceId - the processInstanceId to set
    • getProcessId

      public String getProcessId()
      Returns:
      the processId
    • setProcessId

      public void setProcessId(String processId)
      Parameters:
      processId - the processId to set
    • getNodeInstanceId

      public String getNodeInstanceId()
      Returns:
      the nodeInstanceId
    • setNodeInstanceId

      public void setNodeInstanceId(String nodeInstanceId)
      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

      public String getNodeName()
      Returns:
      the nodeName
    • setNodeName

      public void setNodeName(String nodeName)
      Parameters:
      nodeName - the nodeName to set
    • getVariables

      public Map<String,Object> getVariables()
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getDeploymentId

      public String getDeploymentId()
    • setDeploymentId

      public void setDeploymentId(String deploymentId)