Class ScriptingBusinessError
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
com.flowable.platform.engine.impl.scripting.ScriptingBusinessError
- All Implemented Interfaces:
Serializable
public class ScriptingBusinessError
extends org.flowable.common.engine.api.delegate.BusinessError
Engine-neutral
BusinessError that can be thrown from scripts via
ScriptingErrorUtils.throwBusinessError(String, String).
It is caught by both BPMN error boundary events and CMMN fault sentries with a matching error code.- See Also:
-
Field Summary
Fields inherited from class org.flowable.common.engine.api.delegate.BusinessError
additionalDataContainer, errorCodeFields inherited from class org.flowable.common.engine.api.FlowableException
isLogged, reduceLogLevel -
Constructor Summary
ConstructorsConstructorDescriptionScriptingBusinessError(String errorCode) ScriptingBusinessError(String errorCode, String message) -
Method Summary
Methods inherited from class org.flowable.common.engine.api.delegate.BusinessError
getAdditionalDataContainer, getErrorCode, setAdditionalDataContainer, setErrorCodeMethods inherited from class org.flowable.common.engine.api.FlowableException
isLogged, isReduceLogLevel, setLogged, setReduceLogLevelMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ScriptingBusinessError
-
ScriptingBusinessError
-
-
Method Details
-
addAdditionalData
-