Class SBonitaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.bonitasoft.engine.commons.exceptions.SBonitaException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SAlreadyExistsException,SDeletionException,SExecutionException,SLifecycleException,SObjectAlreadyExistsException,SObjectCreationException,SObjectModificationException,SObjectNotFoundException,SObjectReadException,SReflectException
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorSBonitaException(Object... arguments) SBonitaException(String message) SBonitaException(String message, Throwable cause) SBonitaException(Throwable cause) SBonitaException(Throwable cause, Object... arguments) -
Method Summary
Modifier and TypeMethodDescriptionThis exception id is used to find potential causesObject[]voidsetConnectorActivationEventOnContext(String activationEvent) voidvoidvoidvoidsetConnectorInstanceIdOnContext(long id) voidsetDocumentIdOnContext(long id) voidsetFlowNodeDefinitionIdOnContext(long id) voidsetFlowNodeInstanceIdOnContext(long id) voidvoidsetGroupIdOnContext(Long groupId) voidvoidvoidvoidvoidvoidvoidvoidsetRoleIdOnContext(Long roleId) voidvoidsetUserIdOnContext(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
-
SBonitaException
public SBonitaException()Default constructor -
SBonitaException
- Parameters:
arguments-
-
SBonitaException
- Parameters:
message-
-
SBonitaException
- Parameters:
message-cause-
-
SBonitaException
- Parameters:
cause-
-
SBonitaException
- Parameters:
cause-arguments-
-
-
Method Details
-
getExceptionId
This exception id is used to find potential causes- Returns:
- the Id of the exception
-
getParameters
- Returns:
-
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
-
setConnectorImplementationClassNameOnContext
- 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
-
setDocumentIdOnContext
public void setDocumentIdOnContext(long id) - Parameters:
id- The identifier of the document- Since:
- 6.3
-
setUserIdOnContext
- Parameters:
userId- The identifier of the user- Since:
- 6.3
-
setGroupIdOnContext
- Parameters:
groupId- The identifier of the group- Since:
- 6.3
-
setRoleIdOnContext
- Parameters:
roleId- The identifier of the role- Since:
- 6.3
-
getMessage
- Overrides:
getMessagein classThrowable
-