Package com.codingapi.flow.exception
Class FlowExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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 FlowExecutionExceptionactionExecutionError(String actionId, Throwable cause) Action execution errorstatic FlowExecutionExceptionCreate record size errorstatic FlowExecutionExceptionCustom action next not foundstatic FlowExecutionExceptiondatabaseError(String operation, Throwable cause) Database operation errorstatic FlowExecutionExceptionnodeExecutionError(String nodeId, Throwable cause) Node execution errorstatic FlowExecutionExceptionoperatorNotInScope(String actionType) Operator not in scopestatic FlowExecutionExceptionrouterNodeNotFound(String nodeId) Router node not foundstatic FlowExecutionExceptionscriptExecutionError(String scriptType, Throwable cause) Script execution errorstatic FlowExecutionExceptionworkflowExecutionError(String processId, Throwable cause) Workflow execution errorMethods inherited from class com.codingapi.flow.exception.FlowException
getErrorCode, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
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
-
nodeExecutionError
Node execution error- Parameters:
nodeId- node IDcause- cause- Returns:
- exception
-
actionExecutionError
Action execution error- Parameters:
actionId- action IDcause- cause- Returns:
- exception
-
workflowExecutionError
Workflow execution error- Parameters:
processId- process instance IDcause- cause- Returns:
- exception
-
databaseError
Database operation error- Parameters:
operation- operation typecause- cause- Returns:
- exception
-
routerNodeNotFound
Router node not found- Parameters:
nodeId- node ID- 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
-