Package com.codingapi.flow.exception
Class FlowExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.codingapi.springboot.framework.exception.LocaleMessageException
com.codingapi.flow.exception.FlowException
com.codingapi.flow.exception.FlowExecutionException
- All Implemented Interfaces:
Serializable
Flow execution exception
Thrown when an error occurs during flow execution For example: script execution error, node execution error, action execution error, etc.
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFlowExecutionException(String code, String message) ConstructorFlowExecutionException(String code, String message, Throwable cause) Constructor -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowExecutionExceptionCreate record size errorstatic FlowExecutionExceptionCustom action next not foundstatic FlowExecutionExceptionoperatorNotInScope(String actionType) Operator not in scopestatic FlowExecutionExceptionremove version errorstatic FlowExecutionExceptionrouterNodeNotFound(String nodeId) Router node not foundstatic FlowExecutionExceptionscriptExecutionError(String scriptType, Throwable cause) Script execution errorMethods inherited from class com.codingapi.springboot.framework.exception.LocaleMessageException
getErrCode, getErrMessage, ofMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FlowExecutionException
Constructor- Parameters:
code- error codemessage- error message
-
FlowExecutionException
Constructor- Parameters:
code- error codemessage- error messagecause- cause
-
-
Method Details
-
scriptExecutionError
Script execution error- Parameters:
scriptType- script typecause- cause- Returns:
- exception
-
routerNodeNotFound
Router node not found- Parameters:
nodeId- node ID- Returns:
- exception
-
removeWorkflowError
remove version error- Returns:
- exception
-
createRecordSizeError
Create record size error- Returns:
- exception
-
operatorNotInScope
Operator not in scope- Parameters:
actionType- action type (delegate/transfer/addAudit)- Returns:
- exception
-
customActionNextNotFound
Custom action next not found- Returns:
- exception
-