AgentShuttingDownException
public class AgentShuttingDownException extends RuntimeException
源码Source
io/agentscope/core/shutdown/AgentShuttingDownException.java:21–33智能体 Shutting Down 异常,表示执行过程中的错误。位于 io.agentscope.core.shutdown 包,继承自 RuntimeException。核心成员包括 AgentShuttingDownException、DEFAULT_MESSAGE。
Exception thrown when request is rejected or interrupted during shutdown.
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
DEFAULT_MESSAGEstaticfinal | String | 默认消息字段。 The DEFAULT MESSAGE field. |
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public AgentShuttingDownException() | 初始化 `AgentShuttingDownException` 实例。 Creates a new instance. |
public AgentShuttingDownException(String message) | 初始化 `AgentShuttingDownException` 实例。 Creates a new instance. |
字段详情Field Detail
DEFAULT_MESSAGE
public static final String DEFAULT_MESSAGE
staticfinal
默认消息字段。声明为 public static final String DEFAULT_MESSAGE。
The DEFAULT MESSAGE field.
源码Source
io/agentscope/core/shutdown/AgentShuttingDownException.java:23–24构造器详情Constructor Detail
AgentShuttingDownException
public AgentShuttingDownException()
初始化 AgentShuttingDownException 实例。
Creates a new instance.
源码Source
io/agentscope/core/shutdown/AgentShuttingDownException.java:26–28AgentShuttingDownException
public AgentShuttingDownException(String message)
初始化 AgentShuttingDownException 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
message | String | 消息(类型 `String`)。The message. |
源码Source
io/agentscope/core/shutdown/AgentShuttingDownException.java:30–32