Class FlowableScriptEvaluationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.flowable.common.engine.api.FlowableException
-
- org.flowable.common.engine.impl.scripting.FlowableScriptEvaluationException
-
- All Implemented Interfaces:
Serializable
public class FlowableScriptEvaluationException extends FlowableException
Thrown by ScriptingEngines in case script evaluation failed.Provides access to the
ScriptTracefor diagnostic purposes.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ScriptTraceerrorTrace-
Fields inherited from class org.flowable.common.engine.api.FlowableException
isLogged, reduceLogLevel
-
-
Constructor Summary
Constructors Constructor Description FlowableScriptEvaluationException(ScriptTrace errorTrace, Throwable cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static StringcreateErrorMessage(ScriptTrace trace)ScriptTracegetErrorTrace()-
Methods inherited from class org.flowable.common.engine.api.FlowableException
isLogged, isReduceLogLevel, setLogged, setReduceLogLevel
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
errorTrace
protected ScriptTrace errorTrace
-
-
Constructor Detail
-
FlowableScriptEvaluationException
public FlowableScriptEvaluationException(ScriptTrace errorTrace, Throwable cause)
-
-
Method Detail
-
createErrorMessage
protected static String createErrorMessage(ScriptTrace trace)
-
getErrorTrace
public ScriptTrace getErrorTrace()
-
-