AS AgentScopeAPI 手册 / API Reference

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_MESSAGE
staticfinal
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–28

AgentShuttingDownException

public AgentShuttingDownException(String message)

初始化 AgentShuttingDownException 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
messageString消息(类型 `String`)。The message.
源码Source io/agentscope/core/shutdown/AgentShuttingDownException.java:30–32
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.