Package com.codingapi.flow.exception
Class FlowNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
ConstructorsConstructorDescriptionFlowNotFoundException(String code, String message) ConstructorFlowNotFoundException(String code, String message, Throwable cause) Constructor -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowNotFoundExceptionAction not foundstatic FlowNotFoundExceptionNode not foundstatic FlowNotFoundExceptionoperator(long operatorId) Operator not foundstatic FlowNotFoundExceptionrecord(long recordId) Flow record not foundstatic FlowNotFoundExceptionWorkflow definition not foundMethods 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
-
FlowNotFoundException
Constructor- Parameters:
code- error codemessage- error message
-
FlowNotFoundException
Constructor- Parameters:
code- error codemessage- error messagecause- cause
-
-
Method Details
-
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
-