Class FlowNotFoundException

All Implemented Interfaces:
Serializable

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

    • FlowNotFoundException

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

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

    • workflow

      public static FlowNotFoundException workflow(String workflowId)
      Workflow definition not found
      Parameters:
      workflowId - workflow ID
      Returns:
      exception
    • record

      public static FlowNotFoundException record(long recordId)
      Flow record not found
      Parameters:
      recordId - record ID
      Returns:
      exception
    • node

      public static FlowNotFoundException node(String nodeId)
      Node not found
      Parameters:
      nodeId - node ID
      Returns:
      exception
    • operator

      public static FlowNotFoundException operator(long operatorId)
      Operator not found
      Parameters:
      operatorId - operator ID
      Returns:
      exception
    • action

      public static FlowNotFoundException action(String actionId)
      Action not found
      Parameters:
      actionId - action ID
      Returns:
      exception