Class FlowInstanceNotFoundException
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.FlowInstanceNotFoundException
- All Implemented Interfaces:
OpenExceptionMeta, Serializable
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 Summary
ConstructorsConstructorDescriptionFlowInstanceNotFoundException(String errorCode, String message) Creates a new flow instance not found exception.FlowInstanceNotFoundException(String errorCode, String message, Throwable cause) Creates a new flow instance not found 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
-
FlowInstanceNotFoundException
-
FlowInstanceNotFoundException
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
-