Class 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:
    Serialized Form
    • Constructor Detail

      • WorkflowRuntimeException

        public WorkflowRuntimeException​(org.kie.api.runtime.process.NodeInstance nodeInstance,
                                        org.kie.api.runtime.process.ProcessInstance processInstance,
                                        String message)
      • WorkflowRuntimeException

        public WorkflowRuntimeException​(org.kie.api.runtime.process.NodeInstance nodeInstance,
                                        org.kie.api.runtime.process.ProcessInstance processInstance,
                                        String message,
                                        Throwable e)
      • WorkflowRuntimeException

        public WorkflowRuntimeException​(org.kie.api.runtime.process.NodeInstance nodeInstance,
                                        org.kie.api.runtime.process.ProcessInstance processInstance,
                                        Exception e)
    • Method Detail

      • getProcessInstanceId

        public long getProcessInstanceId()
        Returns:
        the processInstanceId
      • setProcessInstanceId

        public void setProcessInstanceId​(long 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 long getNodeInstanceId()
        Returns:
        the nodeInstanceId
      • setNodeInstanceId

        public void setNodeInstanceId​(long nodeInstanceId)
        Parameters:
        nodeInstanceId - the nodeInstanceId to set
      • getNodeId

        public long getNodeId()
        Returns:
        the nodeId
      • setNodeId

        public void setNodeId​(long 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
      • getDeploymentId

        public String getDeploymentId()
      • setDeploymentId

        public void setDeploymentId​(String deploymentId)