Class SContractViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.core.process.instance.api.exceptions.SContractViolationException
- All Implemented Interfaces:
Serializable,ExceptionContext,ScopedException
Thrown when the
SContractDefinition is not fulfilled.- Since:
- 7.0
- Author:
- Emmanuel Duchastenier
- See Also:
-
Field Summary
Fields inherited from interface org.bonitasoft.engine.commons.exceptions.ScopedException
ACTOR_MAPPING, CONNECTOR, DATA, EVENT, GENERAL_INFORMATION, ITERATION, OPERATION, OUTGOING_TRANSITION, UNKNOWN_SCOPE -
Constructor Summary
ConstructorsConstructorDescriptionSContractViolationException(String message, Exception e) SContractViolationException(String message, List<String> explanations) Constructs anSContractViolationExceptionwith the specified detail message and the explanations. -
Method Summary
Modifier and TypeMethodDescriptionReturns the explanations of why the contract is not fulfilled.Methods inherited from class org.bonitasoft.engine.commons.exceptions.SBonitaException
getContext, getExceptionId, getMessage, getParameters, getScope, setConnectorActivationEventOnContext, setConnectorDefinitionIdOnContext, setConnectorDefinitionVersionOnContext, setConnectorImplementationClassNameOnContext, setConnectorInputOnContext, setConnectorInstanceIdOnContext, setConnectorNameOnContext, setDocumentIdOnContext, setFlowNodeDefinitionIdOnContext, setFlowNodeInstanceIdOnContext, setFlowNodeNameOnContext, setGroupIdOnContext, setMessageInstanceNameOnContext, setMessageInstanceTargetFlowNodeOnContext, setMessageInstanceTargetProcessOnContext, setProcessDefinitionIdOnContext, setProcessDefinitionNameOnContext, setProcessDefinitionVersionOnContext, setProcessInstanceIdOnContext, setRoleIdOnContext, setRootProcessInstanceIdOnContext, setScope, setUserIdOnContext, setWaitingMessageEventTypeOnContextMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SContractViolationException
Constructs anSContractViolationExceptionwith the specified detail message and the explanations.- Parameters:
message- the specified detail messageexplanations- the explanations
-
SContractViolationException
-
-
Method Details
-
getExplanations
Returns the explanations of why the contract is not fulfilled.- Returns:
- the explanations
-
getSimpleMessage
-