Class FlowInstanceNotFoundException

All Implemented Interfaces:
OpenExceptionMeta, Serializable

public class FlowInstanceNotFoundException extends FlowException
Thrown when a flow instance lookup by id returns no row. 按 id 查找流程实例无结果时抛出。

Maps to FlowErrorCode.INST_NOT_FOUND (BASE-FLOW-INST-001).

对应错误码 FlowErrorCode.INST_NOT_FOUND (BASE-FLOW-INST-001)。

Since:
JDK 25, opencode-base-flow V1.0.5
Author:
Leon Soo
See Also:
  • Constructor Details

    • FlowInstanceNotFoundException

      public FlowInstanceNotFoundException(String errorCode, String message)
      Creates a new flow instance not found exception. 创建流程实例未找到异常。
      Parameters:
      errorCode - stable error code | 稳定错误码
      message - human-readable detail message | 人类可读的详细消息
      Since:
      JDK 25, opencode-base-flow V1.0.5
    • FlowInstanceNotFoundException

      public FlowInstanceNotFoundException(String errorCode, String message, Throwable cause)
      Creates a new flow instance not found exception with a root cause. 创建带原始异常的流程实例未找到异常。
      Parameters:
      errorCode - stable error code | 稳定错误码
      message - human-readable detail message | 人类可读的详细消息
      cause - underlying cause | 原始异常
      Since:
      JDK 25, opencode-base-flow V1.0.5