public class InvalidProcessDefinitionException extends BonitaException
Thrown when the process definition is invalid.
The class InvalidProcessDefinitionException is a form of Throwable that indicates conditions that a reasonable application might want to catch.
The class InvalidProcessDefinitionException that is not also subclasses of RuntimeException are checked exceptions.
Checked exceptions need to be declared in a method or constructor's throws clause if they can be thrown by the execution of the method or
constructor and propagate outside the method or constructor boundary.
| Constructor and Description |
|---|
InvalidProcessDefinitionException(List<String> errors)
Constructs a new exception with the specified detail message and cause.
|
InvalidProcessDefinitionException(String message)
Constructs a new exception with the specified detail message.
|
getContext, getMessage, getUserName, setConnectorActivationEventOnContext, setConnectorDefinitionIdOnContext, setConnectorDefinitionImplementationClassNameOnContext, setConnectorDefinitionVersionOnContext, setConnectorInstanceIdOnContext, setDataClassName, setDataName, setDocumentIdOnContext, setFlowNodeDefinitionIdOnContext, setFlowNodeInstanceIdOnContext, setFlowNodeNameOnContext, setGroupIdOnContext, setMessageInstanceNameOnContext, setMessageInstanceTargetFlowNodeOnContext, setMessageInstanceTargetProcessOnContext, setProcessDefinitionIdOnContext, setProcessDefinitionNameOnContext, setProcessDefinitionVersionOnContext, setProcessInstanceIdOnContext, setRoleIdOnContext, setRootProcessInstanceIdOnContext, setUserIdOnContext, setUserName, setWaitingMessageEventTypeOnContextaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidProcessDefinitionException(String message)
message - The detail message (which is saved for later retrieval by the Throwable.getMessage() method).public InvalidProcessDefinitionException(List<String> errors)
errors - The list of errors included in the detail message (which is saved for later retrieval by the Throwable.getMessage() method).Copyright © 2018 Bonitasoft S.A.. All rights reserved.