Class FlowDefinitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cloud.opencode.base.core.exception.OpenException
cloud.opencode.base.flow.exception.FlowException
cloud.opencode.base.flow.exception.FlowDefinitionException
- All Implemented Interfaces:
OpenExceptionMeta, Serializable
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 Summary
ConstructorsConstructorDescriptionFlowDefinitionException(String errorCode, String message) Creates a new flow definition exception.FlowDefinitionException(String errorCode, String message, Throwable cause) Creates a new flow definition exception with a root cause. -
Method Summary
Methods inherited from class FlowException
getErrorCodeMethods inherited from class OpenException
getComponent, getMessage, getRawMessageMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface OpenExceptionMeta
getMetaPrefix
-
Constructor Details
-
FlowDefinitionException
-
FlowDefinitionException
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
-