Class FlowDefinitionException

All Implemented Interfaces:
OpenExceptionMeta, Serializable

public class FlowDefinitionException extends FlowException
Thrown when flow definition deployment or version management fails. 流程定义部署或版本管理失败时抛出。

Typical scenarios: duplicate (flow_key, version) on deploy (FlowErrorCode.DEF_DUPLICATE), or attempting to use a deprecated definition (FlowErrorCode.DEF_DEPRECATED).

典型场景:部署时 (flow_key, version) 重复 (FlowErrorCode.DEF_DUPLICATE),或尝试使用已弃用的定义 (FlowErrorCode.DEF_DEPRECATED)。

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

    • FlowDefinitionException

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

      public FlowDefinitionException(String errorCode, String message, Throwable cause)
      Creates a new flow definition 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