Package com.codingapi.flow.exception
Class FlowConfigException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.codingapi.flow.exception.FlowException
com.codingapi.flow.exception.FlowConfigException
- All Implemented Interfaces:
Serializable
Flow configuration exception
Thrown when the flow configuration is incorrect For example: node configuration error, edge configuration error, strategy configuration error, etc.
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFlowConfigException(String code, String message) ConstructorFlowConfigException(String code, String message, Throwable cause) Constructor -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowConfigExceptionActions cannot be nullstatic FlowConfigExceptionCurrent node cannot be nullstatic FlowConfigExceptionedgeConfigError(String reason) Edge configuration errorstatic FlowConfigExceptionError throw cannot be nullstatic FlowConfigExceptionformConfigError(String formName, String reason) Form configuration errorstatic FlowConfigExceptionnodeConfigError(String nodeName, String reason) Node configuration errorstatic FlowConfigExceptionParallel end node cannot be nullstatic FlowConfigExceptionRepository not registeredstatic FlowConfigExceptionRouter node script is nullstatic FlowConfigExceptionStrategies cannot be nullstatic FlowConfigExceptionView cannot be nullMethods 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
-
FlowConfigException
Constructor- Parameters:
code- error codemessage- error message
-
FlowConfigException
Constructor- Parameters:
code- error codemessage- error messagecause- cause
-
-
Method Details
-
strategiesNotNull
Strategies cannot be null- Returns:
- exception
-
actionsNotNull
Actions cannot be null- Returns:
- exception
-
nodeConfigError
Node configuration error- Parameters:
nodeName- node namereason- reason- Returns:
- exception
-
edgeConfigError
Edge configuration error- Parameters:
reason- reason- Returns:
- exception
-
formConfigError
Form configuration error- Parameters:
formName- form namereason- reason- Returns:
- exception
-
viewNotNull
View cannot be null- Returns:
- exception
-
parallelEndNodeNotNull
Parallel end node cannot be null- Returns:
- exception
-
currentNodeNotNull
Current node cannot be null- Returns:
- exception
-
routerNodeScriptNull
Router node script is null- Returns:
- exception
-
repositoryNotRegistered
Repository not registered- Returns:
- exception
-
errorThrowNotNull
Error throw cannot be null- Returns:
- exception
-