Package com.codingapi.flow.exception
Class FlowNotFoundException
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.FlowNotFoundException
- All Implemented Interfaces:
Serializable
Flow not found exception
Thrown when a requested resource does not exist For example: workflow definition not found, flow record not found, node not found, etc.
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowNotFoundExceptionAction not foundstatic FlowNotFoundExceptionNode not foundstatic FlowNotFoundExceptionoperator(long operatorId) Operator not foundstatic FlowNotFoundExceptionParallel end node cannot be nullstatic FlowNotFoundExceptionrecord(long recordId) Flow record not foundstatic FlowNotFoundExceptionWorkflow definition not foundMethods 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
-
FlowNotFoundException
Constructor- Parameters:
code- error codemessage- error message
-
-
Method Details
-
parallelEndNodeNotNull
Parallel end node cannot be null- Returns:
- exception
-
workflow
Workflow definition not found- Parameters:
workflowId- workflow ID- Returns:
- exception
-
record
Flow record not found- Parameters:
recordId- record ID- Returns:
- exception
-
node
Node not found- Parameters:
nodeId- node ID- Returns:
- exception
-
operator
Operator not found- Parameters:
operatorId- operator ID- Returns:
- exception
-
action
Action not found- Parameters:
actionId- action ID- Returns:
- exception
-