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

public abstract class SBonitaException extends Exception
Author:
Baptiste Mesta, Matthieu Chaffotte, Celine Souchet
See Also:
  • Constructor Details

    • SBonitaException

      public SBonitaException()
      Default constructor
    • SBonitaException

      public SBonitaException(Object... arguments)
      Parameters:
      arguments -
    • SBonitaException

      public SBonitaException(String message)
      Parameters:
      message -
    • SBonitaException

      public SBonitaException(String message, Throwable cause)
      Parameters:
      message -
      cause -
    • SBonitaException

      public SBonitaException(Throwable cause)
      Parameters:
      cause -
    • SBonitaException

      public SBonitaException(Throwable cause, Object... arguments)
      Parameters:
      cause -
      arguments -
  • Method Details

    • getExceptionId

      public String getExceptionId()
      This exception id is used to find potential causes
      Returns:
      the Id of the exception
    • getParameters

      public Object[] getParameters()
      Returns:
    • getContext

      public Map<SExceptionContext,Serializable> getContext()
      Returns:
      The context of the exception
      Since:
      6.3
    • setProcessDefinitionIdOnContext

      public void setProcessDefinitionIdOnContext(Long id)
      Parameters:
      id - The identifier of the process definition to set
      Since:
      6.3
    • setProcessDefinitionNameOnContext

      public void setProcessDefinitionNameOnContext(String name)
      Parameters:
      name - The name of the process definition to set
      Since:
      6.3
    • setProcessDefinitionVersionOnContext

      public void setProcessDefinitionVersionOnContext(String version)
      Parameters:
      version - The version of the process definition to set
      Since:
      6.3
    • setProcessInstanceIdOnContext

      public void setProcessInstanceIdOnContext(Long id)
      Parameters:
      id - The identifier of the process instance to set
      Since:
      6.3
    • setRootProcessInstanceIdOnContext

      public void setRootProcessInstanceIdOnContext(Long id)
      Parameters:
      id - The identifier of the root process instance to set
      Since:
      6.3
    • setConnectorDefinitionIdOnContext

      public void setConnectorDefinitionIdOnContext(String id)
      Parameters:
      id - The identifier of the connector definition
      Since:
      6.3
    • setConnectorImplementationClassNameOnContext

      public void setConnectorImplementationClassNameOnContext(String name)
      Parameters:
      name - The class name of the implementation of the connector definition to set
      Since:
      6.3
    • setConnectorDefinitionVersionOnContext

      public void setConnectorDefinitionVersionOnContext(String version)
      Parameters:
      version - The version of the connector definition
      Since:
      6.3
    • setConnectorActivationEventOnContext

      public void setConnectorActivationEventOnContext(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(String name)
      Parameters:
      name - The name of the flow node to set
      Since:
      6.3
    • setMessageInstanceNameOnContext

      public void setMessageInstanceNameOnContext(String name)
      Parameters:
      name - The name of the message instance to set
      Since:
      6.3
    • setMessageInstanceTargetProcessOnContext

      public void setMessageInstanceTargetProcessOnContext(String name)
      Parameters:
      name - The target process name of the message instance to set
      Since:
      6.3
    • setMessageInstanceTargetFlowNodeOnContext

      public void setMessageInstanceTargetFlowNodeOnContext(String name)
      Parameters:
      name - The target flow node name of the message instance to set
      Since:
      6.3
    • setWaitingMessageEventTypeOnContext

      public void setWaitingMessageEventTypeOnContext(String eventType)
      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

      public void setUserIdOnContext(Long userId)
      Parameters:
      userId - The identifier of the user
      Since:
      6.3
    • setGroupIdOnContext

      public void setGroupIdOnContext(Long groupId)
      Parameters:
      groupId - The identifier of the group
      Since:
      6.3
    • setRoleIdOnContext

      public void setRoleIdOnContext(Long roleId)
      Parameters:
      roleId - The identifier of the role
      Since:
      6.3
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable