public abstract class SBonitaException
extends java.lang.Exception
| Constructor and Description |
|---|
SBonitaException()
Default constructor
|
SBonitaException(java.lang.Object... arguments) |
SBonitaException(java.lang.String message) |
SBonitaException(java.lang.String message,
java.lang.Throwable cause) |
SBonitaException(java.lang.Throwable cause) |
SBonitaException(java.lang.Throwable cause,
java.lang.Object... arguments) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<SExceptionContext,java.io.Serializable> |
getContext() |
java.lang.String |
getExceptionId()
This exception id is used to find potential causes
|
java.lang.String |
getMessage() |
java.lang.Object[] |
getParameters() |
void |
setConnectorActivationEventOnContext(java.lang.String activationEvent) |
void |
setConnectorDefinitionIdOnContext(java.lang.String id) |
void |
setConnectorDefinitionVersionOnContext(java.lang.String version) |
void |
setConnectorImplementationClassNameOnContext(java.lang.String name) |
void |
setConnectorInstanceIdOnContext(long id) |
void |
setDocumentIdOnContext(long id) |
void |
setFlowNodeDefinitionIdOnContext(long id) |
void |
setFlowNodeInstanceIdOnContext(long id) |
void |
setFlowNodeNameOnContext(java.lang.String name) |
void |
setGroupIdOnContext(java.lang.Long groupId) |
void |
setMessageInstanceNameOnContext(java.lang.String name) |
void |
setMessageInstanceTargetFlowNodeOnContext(java.lang.String name) |
void |
setMessageInstanceTargetProcessOnContext(java.lang.String name) |
void |
setProcessDefinitionIdOnContext(java.lang.Long id) |
void |
setProcessDefinitionNameOnContext(java.lang.String name) |
void |
setProcessDefinitionVersionOnContext(java.lang.String version) |
void |
setProcessInstanceIdOnContext(java.lang.Long id) |
void |
setRoleIdOnContext(java.lang.Long roleId) |
void |
setRootProcessInstanceIdOnContext(java.lang.Long id) |
void |
setUserIdOnContext(java.lang.Long userId) |
void |
setWaitingMessageEventTypeOnContext(java.lang.String eventType) |
public SBonitaException()
public SBonitaException(java.lang.Object... arguments)
arguments - public SBonitaException(java.lang.String message)
message - public SBonitaException(java.lang.String message,
java.lang.Throwable cause)
message - cause - public SBonitaException(java.lang.Throwable cause)
cause - public SBonitaException(java.lang.Throwable cause,
java.lang.Object... arguments)
cause - arguments - public java.lang.String getExceptionId()
public java.lang.Object[] getParameters()
public java.util.Map<SExceptionContext,java.io.Serializable> getContext()
public void setProcessDefinitionIdOnContext(java.lang.Long id)
id - The identifier of the process definition to setpublic void setProcessDefinitionNameOnContext(java.lang.String name)
name - The name of the process definition to setpublic void setProcessDefinitionVersionOnContext(java.lang.String version)
version - The version of the process definition to setpublic void setProcessInstanceIdOnContext(java.lang.Long id)
id - The identifier of the process instance to setpublic void setRootProcessInstanceIdOnContext(java.lang.Long id)
id - The identifier of the root process instance to setpublic void setConnectorDefinitionIdOnContext(java.lang.String id)
id - The identifier of the connector definitionpublic void setConnectorImplementationClassNameOnContext(java.lang.String name)
name - The class name of the implementation of the connector definition to setpublic void setConnectorDefinitionVersionOnContext(java.lang.String version)
version - The version of the connector definitionpublic void setConnectorActivationEventOnContext(java.lang.String activationEvent)
activationEvent - The event which activates the connector to setpublic void setConnectorInstanceIdOnContext(long id)
id - The identifier of the connector instance to setpublic void setFlowNodeDefinitionIdOnContext(long id)
id - The identifier of the flow node definition to setpublic void setFlowNodeInstanceIdOnContext(long id)
id - The identifier of the flow node instance to setpublic void setFlowNodeNameOnContext(java.lang.String name)
name - The name of the flow node to setpublic void setMessageInstanceNameOnContext(java.lang.String name)
name - The name of the message instance to setpublic void setMessageInstanceTargetProcessOnContext(java.lang.String name)
name - The target process name of the message instance to setpublic void setMessageInstanceTargetFlowNodeOnContext(java.lang.String name)
name - The target flow node name of the message instance to setpublic void setWaitingMessageEventTypeOnContext(java.lang.String eventType)
eventType - The event type of the waiting message instance to setpublic void setDocumentIdOnContext(long id)
id - The identifier of the documentpublic void setUserIdOnContext(java.lang.Long userId)
userId - The identifier of the userpublic void setGroupIdOnContext(java.lang.Long groupId)
groupId - The identifier of the grouppublic void setRoleIdOnContext(java.lang.Long roleId)
roleId - The identifier of the rolepublic java.lang.String getMessage()
getMessage in class java.lang.Throwable