Class FlowConfigException

All Implemented Interfaces:
Serializable

public class FlowConfigException extends FlowException
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 Details

    • FlowConfigException

      public FlowConfigException(String code, String message)
      Constructor
      Parameters:
      code - error code
      message - error message
    • FlowConfigException

      public FlowConfigException(String code, String message, Throwable cause)
      Constructor
      Parameters:
      code - error code
      message - error message
      cause - cause
  • Method Details

    • strategiesNotNull

      public static FlowConfigException strategiesNotNull()
      Strategies cannot be null
      Returns:
      exception
    • actionsNotNull

      public static FlowConfigException actionsNotNull()
      Actions cannot be null
      Returns:
      exception
    • nodeConfigError

      public static FlowConfigException nodeConfigError(String nodeName, String reason)
      Node configuration error
      Parameters:
      nodeName - node name
      reason - reason
      Returns:
      exception
    • edgeConfigError

      public static FlowConfigException edgeConfigError(String reason)
      Edge configuration error
      Parameters:
      reason - reason
      Returns:
      exception
    • formConfigError

      public static FlowConfigException formConfigError(String formName, String reason)
      Form configuration error
      Parameters:
      formName - form name
      reason - reason
      Returns:
      exception
    • viewNotNull

      public static FlowConfigException viewNotNull()
      View cannot be null
      Returns:
      exception
    • parallelEndNodeNotNull

      public static FlowConfigException parallelEndNodeNotNull()
      Parallel end node cannot be null
      Returns:
      exception
    • currentNodeNotNull

      public static FlowConfigException currentNodeNotNull()
      Current node cannot be null
      Returns:
      exception
    • routerNodeScriptNull

      public static FlowConfigException routerNodeScriptNull()
      Router node script is null
      Returns:
      exception
    • repositoryNotRegistered

      public static FlowConfigException repositoryNotRegistered()
      Repository not registered
      Returns:
      exception
    • errorThrowNotNull

      public static FlowConfigException errorThrowNotNull()
      Error throw cannot be null
      Returns:
      exception