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
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
- Since:
- See Also:
- Serialized Form
WorkflowRuntimeException
public WorkflowRuntimeException(Exception e)
WorkflowRuntimeException
public WorkflowRuntimeException(NodeInstance nodeInstance,
Exception e)
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
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.