Class SBonitaRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.bonitasoft.engine.commons.exceptions.SBonitaRuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SRetryableException
- Author:
- Matthieu Chaffotte, Celine Souchet
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSBonitaRuntimeException(String message) SBonitaRuntimeException(String message, Throwable cause) SBonitaRuntimeException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetConnectorActivationEventOnContext(String activationEvent) voidvoidvoidvoidsetConnectorInstanceIdOnContext(long id) voidsetFlowNodeDefinitionIdOnContext(long id) voidsetFlowNodeInstanceIdOnContext(long id) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidsetUserIdOnContext(long userId) voidsetWaitingMessageEventTypeOnContext(String eventType) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SBonitaRuntimeException
-
SBonitaRuntimeException
-
SBonitaRuntimeException
-
-
Method Details
-
getContext
- Returns:
- The context of the exception
- Since:
- 6.3
-
setProcessDefinitionIdOnContext
- Parameters:
id- The identifier of the process definition to set- Since:
- 6.3
-
setProcessDefinitionNameOnContext
- Parameters:
name- The name of the process definition to set- Since:
- 6.3
-
setProcessDefinitionVersionOnContext
- Parameters:
version- The version of the process definition to set- Since:
- 6.3
-
setProcessInstanceIdOnContext
- Parameters:
id- The identifier of the process instance to set- Since:
- 6.3
-
setRootProcessInstanceIdOnContext
- Parameters:
id- The identifier of the root process instance to set- Since:
- 6.3
-
setConnectorDefinitionIdOnContext
- Parameters:
id- The identifier of the connector definition- Since:
- 6.3
-
setConnectorDefinitionImplementationClassNameOnContext
- Parameters:
name- The class name of the implementation of the connector definition to set- Since:
- 6.3
-
setConnectorDefinitionVersionOnContext
- Parameters:
version- The version of the connector definition- Since:
- 6.3
-
setConnectorActivationEventOnContext
- 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
- Parameters:
name- The name of the flow node to set- Since:
- 6.3
-
setMessageInstanceNameOnContext
- Parameters:
name- The name of the message instance to set- Since:
- 6.3
-
setMessageInstanceTargetProcessOnContext
- Parameters:
name- The target process name of the message instance to set- Since:
- 6.3
-
setMessageInstanceTargetFlowNodeOnContext
- Parameters:
name- The target flow node name of the message instance to set- Since:
- 6.3
-
setWaitingMessageEventTypeOnContext
- 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
- Overrides:
getMessagein classThrowable
-