Class SBonitaRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.bonitasoft.engine.commons.exceptions.SBonitaRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
SRetryableException
public class SBonitaRuntimeException extends java.lang.RuntimeException- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SBonitaRuntimeException(java.lang.String message)SBonitaRuntimeException(java.lang.String message, java.lang.Throwable cause)SBonitaRuntimeException(java.lang.Throwable cause)
-
Method Summary
-
-
-
Method Detail
-
getContext
public java.util.Map<SExceptionContext,java.io.Serializable> getContext()
- Returns:
- The context of the exception
- Since:
- 6.3
-
setProcessDefinitionIdOnContext
public void setProcessDefinitionIdOnContext(java.lang.Long id)
- Parameters:
id- The identifier of the process definition to set- Since:
- 6.3
-
setProcessDefinitionNameOnContext
public void setProcessDefinitionNameOnContext(java.lang.String name)
- Parameters:
name- The name of the process definition to set- Since:
- 6.3
-
setProcessDefinitionVersionOnContext
public void setProcessDefinitionVersionOnContext(java.lang.String version)
- Parameters:
version- The version of the process definition to set- Since:
- 6.3
-
setProcessInstanceIdOnContext
public void setProcessInstanceIdOnContext(java.lang.Long id)
- Parameters:
id- The identifier of the process instance to set- Since:
- 6.3
-
setRootProcessInstanceIdOnContext
public void setRootProcessInstanceIdOnContext(java.lang.Long id)
- Parameters:
id- The identifier of the root process instance to set- Since:
- 6.3
-
setConnectorDefinitionIdOnContext
public void setConnectorDefinitionIdOnContext(java.lang.String id)
- Parameters:
id- The identifier of the connector definition- Since:
- 6.3
-
setConnectorDefinitionImplementationClassNameOnContext
public void setConnectorDefinitionImplementationClassNameOnContext(java.lang.String name)
- Parameters:
name- The class name of the implementation of the connector definition to set- Since:
- 6.3
-
setConnectorDefinitionVersionOnContext
public void setConnectorDefinitionVersionOnContext(java.lang.String version)
- Parameters:
version- The version of the connector definition- Since:
- 6.3
-
setConnectorActivationEventOnContext
public void setConnectorActivationEventOnContext(java.lang.String activationEvent)
- Parameters:
activationEvent- The event which activates the connector to set- Since:
- 6.3
-
setConnectorInstanceIdOnContext
public void setConnectorInstanceIdOnContext(long id)
- Parameters:
id- The identifier of the connector instance to set- Since:
- 6.3
-
setFlowNodeDefinitionIdOnContext
public void setFlowNodeDefinitionIdOnContext(long id)
- Parameters:
id- The identifier of the flow node definition to set- Since:
- 6.3
-
setFlowNodeInstanceIdOnContext
public void setFlowNodeInstanceIdOnContext(long id)
- Parameters:
id- The identifier of the flow node instance to set- Since:
- 6.3
-
setFlowNodeNameOnContext
public void setFlowNodeNameOnContext(java.lang.String name)
- Parameters:
name- The name of the flow node to set- Since:
- 6.3
-
setMessageInstanceNameOnContext
public void setMessageInstanceNameOnContext(java.lang.String name)
- Parameters:
name- The name of the message instance to set- Since:
- 6.3
-
setMessageInstanceTargetProcessOnContext
public void setMessageInstanceTargetProcessOnContext(java.lang.String name)
- Parameters:
name- The target process name of the message instance to set- Since:
- 6.3
-
setMessageInstanceTargetFlowNodeOnContext
public void setMessageInstanceTargetFlowNodeOnContext(java.lang.String name)
- Parameters:
name- The target flow node name of the message instance to set- Since:
- 6.3
-
setWaitingMessageEventTypeOnContext
public void setWaitingMessageEventTypeOnContext(java.lang.String eventType)
- Parameters:
eventType- The event type of the waiting message instance to set- Since:
- 6.3
-
setUserIdOnContext
public void setUserIdOnContext(long userId)
- Parameters:
userId- The identifier of the user- Since:
- 6.3
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessagein classjava.lang.Throwable
-
-