ExecTimeoutException
public static class ExecTimeoutException extends SandboxException
源码Source
io/agentscope/harness/agent/sandbox/SandboxException.java:274–287Exec 超时异常,表示执行过程中的错误。位于 io.agentscope.harness.agent.sandbox 包,继承自 SandboxException。核心成员包括 ExecTimeoutException。
Thrown when a sandbox command times out.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public ExecTimeoutException(String command, int timeoutSeconds) | 初始化 `ExecTimeoutException` 实例。 Creates an exec timeout exception. |
构造器详情Constructor Detail
ExecTimeoutException
public ExecTimeoutException(String command, int timeoutSeconds)
初始化 ExecTimeoutException 实例。
Creates an exec timeout exception.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
command | String | 命令(类型 `String`)。the command that timed out |
timeoutSeconds | int | 超时秒(类型 `int`)。the timeout that was exceeded |
源码Source
io/agentscope/harness/agent/sandbox/SandboxException.java:282–286