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
Thrown when the
SContractDefinition
is not fulfilled.- Since:
- 7.0
- Author:
- Emmanuel Duchastenier
- See Also:
-
Constructor Summary
ConstructorDescriptionSContractViolationException
(String message, Exception e) SContractViolationException
(String message, List<String> explanations) Constructs anSContractViolationException
with 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, setConnectorActivationEventOnContext, setConnectorDefinitionIdOnContext, setConnectorDefinitionVersionOnContext, setConnectorImplementationClassNameOnContext, setConnectorInstanceIdOnContext, setDocumentIdOnContext, setFlowNodeDefinitionIdOnContext, setFlowNodeInstanceIdOnContext, setFlowNodeNameOnContext, setGroupIdOnContext, setMessageInstanceNameOnContext, setMessageInstanceTargetFlowNodeOnContext, setMessageInstanceTargetProcessOnContext, setProcessDefinitionIdOnContext, setProcessDefinitionNameOnContext, setProcessDefinitionVersionOnContext, setProcessInstanceIdOnContext, setRoleIdOnContext, setRootProcessInstanceIdOnContext, setUserIdOnContext, setWaitingMessageEventTypeOnContext
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SContractViolationException
Constructs anSContractViolationException
with 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
-