Class SBonitaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.bonitasoft.engine.commons.exceptions.SBonitaException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthenticationException,ConfigurationException,HandlerRegistrationException,HandlerUnregistrationException,IllegalIndexPositionException,ImportDuplicateInOrganizationException,NonUniqueResultException,SActivityCreationException,SActivityInstanceNotFoundException,SActivityModificationException,SActorCreationException,SActorDeletionException,SActorMemberAlreadyExistsException,SActorMemberCreationException,SActorMemberDeletionException,SActorMemberNotFoundException,SActorNotFoundException,SActorUpdateException,SAlreadyExistsException,SAProcessInstanceNotFoundException,SArchivingException,SBadTransactionStateException,SBonitaReadException,SBoundaryEventNotFoundException,SBPMEventHandlerException,SBusinessDataNotFoundException,SBusinessDataRepositoryException,SCacheException,SCategoryException,SClassLoaderException,SCommandAlreadyExistsException,SCommandCreationException,SCommandDeletionException,SCommandExecutionException,SCommandGettingException,SCommandNotFoundException,SCommandParameterizationException,SCommandUpdateException,SCommentAddException,SCommentDeletionException,SCommentException,SCommentNotFoundException,SComparisonException,SConnectorDefinitionNotFoundException,SConnectorException,SConnectorException,SConnectorInstanceCreationException,SConnectorInstanceDeletionException,SConnectorInstanceNotFoundException,SConnectorInstanceReadException,SConnectorValidationException,SContractDataCreationException,SContractDataDeletionException,SContractDataNotFoundException,SContractViolationException,SDataInstanceException,SDataInstanceNotWellFormedException,SDeletingActivatedTenantException,SDeletingEnabledProcessException,SDeletionException,SDependencyException,SEntityActionExecutionException,SequenceManagerException,SessionIdNotSetException,SEventInstanceException,SEventTriggerInstanceException,SExecutionException,SExpressionException,SExternalIdentityMappingException,SFireEventException,SFlowElementModificationException,SFlowNodeDeletionException,SFlowNodeExecutionException,SFlowNodeModificationException,SFlowNodeNotFoundException,SFlowNodeReadException,SGatewayCreationException,SGatewayModificationException,SGatewayNotFoundException,SHandlerExecutionException,SHumanTaskAlreadyAssignedException,SIdentityException,SImportOrganizationException,SInvalidConnectorImplementationException,SInvalidEvaluationConnectorConditionException,SInvalidPageTokenException,SInvalidPageZipException,SInvalidPlatformCredentialsException,SJobListenerExecutionException,SLifecycleException,SLockException,SLockTimeoutException,SLoginException,SNotSerializableException,SObjectAlreadyExistsException,SObjectCreationException,SObjectModificationException,SObjectNotFoundException,SObjectReadException,SOperationExecutionException,SOutOfBoundException,SPageOutOfRangeException,SParameterNameNotFoundException,SParameterProcessNotFoundException,SPersistenceException,SPlatformAuthenticationException,SPlatformCommandAlreadyExistsException,SPlatformCommandCreationException,SPlatformCommandDeletionException,SPlatformCommandGettingException,SPlatformCommandNotFoundException,SPlatformCommandUpdateException,SPlatformDeletionException,SPlatformLoginException,SPlatformNotFoundException,SPlatformUpdateException,SProcessDefinitionException,SProcessDefinitionNotFoundException,SProcessDeletionException,SProcessDeploymentInfoUpdateException,SProcessDisablementException,SProcessEnablementException,SProcessInstanceCreationException,SProcessInstanceDeletionException,SProcessInstanceHierarchicalDeletionException,SProcessInstanceModificationException,SProcessInstanceNotFoundException,SProcessInstanceReadException,SProfileAlreadyExistsException,SProfileCreationException,SProfileDeletionException,SProfileException,SProfileGettingException,SProfileMemberCreationException,SProfileMemberDeletionException,SProfileMemberException,SProfileMemberNotFoundException,SProfileNotFoundException,SProfileUpdateException,SQueriableLogException,SQueriableLogNotFoundException,SRecorderException,SRefBusinessDataInstanceCreationException,SRefBusinessDataInstanceModificationException,SRefBusinessDataInstanceNotFoundException,SReflectException,SSchedulerException,SSearchException,SSessionException,SSessionException,SSupervisorAlreadyExistsException,SSupervisorCreationException,SSupervisorDeletionException,SSupervisorException,SSupervisorNotFoundException,STaskVisibilityException,STenantActivationException,STenantAlreadyExistException,STenantCreationException,STenantDeactivationException,STenantDeletionException,STenantException,STenantIdNotSetException,STenantNotFoundException,STenantUpdateException,STransactionException,STransactionNotFoundException,STransactionResourceException,SUnknowStateCategory,SUnreleasableTaskException,SUserFilterExecutionException,SUserFilterLoadingException,SuserTaskSkipException,SWorkException,SWorkPreconditionException,SWorkRegisterException
- Author:
- Baptiste Mesta, Matthieu Chaffotte, Celine Souchet
- 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
-