public class ProcessActivationException extends ExecutionException
ProcessRuntimeAPI.startProcess(long)
(and its variants)
cannot be performed
because the process definition is not enabled.ProcessRuntimeAPI.startProcess(long)
,
ProcessRuntimeAPI.startProcess(long, long)
,
ProcessRuntimeAPI.startProcess(long, java.util.Map)
,
ProcessRuntimeAPI.startProcess(long, java.util.List, java.util.Map)
,
ProcessRuntimeAPI.startProcess(long, long, java.util.Map)
,
ProcessRuntimeAPI.startProcess(long, long, java.util.List, java.util.Map)
,
Serialized FormConstructor and Description |
---|
ProcessActivationException(Exception e)
Constructs a new exception with the specified detail cause.
|
ProcessActivationException(long processDefinitionId,
String name,
String version)
Constructs a new exception and the message with the given informations of the process definition with the problem.
|
ProcessActivationException(String message)
Constructs a new exception with the specified detail message.
|
ProcessActivationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
getContext, getMessage, getUserName, setConnectorActivationEventOnContext, setConnectorDefinitionIdOnContext, setConnectorDefinitionImplementationClassNameOnContext, setConnectorDefinitionVersionOnContext, setConnectorInstanceIdOnContext, setDocumentIdOnContext, setFlowNodeDefinitionIdOnContext, setFlowNodeInstanceIdOnContext, setFlowNodeNameOnContext, setGroupIdOnContext, setMessageInstanceNameOnContext, setMessageInstanceTargetFlowNodeOnContext, setMessageInstanceTargetProcessOnContext, setProcessDefinitionIdOnContext, setProcessDefinitionNameOnContext, setProcessDefinitionVersionOnContext, setProcessInstanceIdOnContext, setRoleIdOnContext, setRootProcessInstanceIdOnContext, setUserIdOnContext, setUserName, setWaitingMessageEventTypeOnContext
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ProcessActivationException(Exception e)
e
- The cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null value is permitted, and indicates that the
cause is nonexistent or unknown.)public ProcessActivationException(String message, Throwable cause)
message
- The detail message (which is saved for later retrieval by the Throwable.getMessage()
method).cause
- The cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null value is permitted, and indicates that the
cause is nonexistent or unknown.)public ProcessActivationException(String message)
message
- The detail message (which is saved for later retrieval by the Throwable.getMessage()
method).public ProcessActivationException(long processDefinitionId, String name, String version)
processDefinitionId
- The identifier of the process definitionname
- The name of the process definitionversion
- The version of the process definitionCopyright © 2014 Bonitasoft S.A.. All rights reserved.