Class BpmnError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.flowable.common.engine.api.FlowableException
org.flowable.common.engine.api.delegate.BusinessError
org.flowable.engine.delegate.BpmnError
- All Implemented Interfaces:
Serializable
Special exception that can be used to throw a BPMN Error from
JavaDelegates and expressions.
This should only be used for business faults, which shall be handled by a Boundary Error Event or Error Event Sub-Process modeled in the process definition. Technical errors should be represented
by other exception types.
This class represents an actual instance of a BPMN Error, whereas Error represents an Error definition.- Author:
- Tijs Rademakers
- See Also:
-
Field Summary
Fields inherited from class BusinessError
additionalDataContainer, errorCodeFields inherited from class FlowableException
isLogged, reduceLogLevel -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class BusinessError
getAdditionalDataContainer, getErrorCode, setAdditionalDataContainer, setErrorCodeMethods inherited from class FlowableException
isLogged, isReduceLogLevel, setLogged, setReduceLogLevelMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BpmnError
-
BpmnError
-
BpmnError
-
-
Method Details
-
addAdditionalData
- Specified by:
addAdditionalDatain classBusinessError
-