SandboxNotFoundException
public class SandboxNotFoundException extends SandboxException
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/exceptions/SandboxNotFoundException.java:19–28沙箱未找到异常,表示执行过程中的错误。位于 io.agentscope.extensions.sandbox.kubernetes.client.exceptions 包,继承自 SandboxException。核心成员包括 SandboxNotFoundException。
Raised when the sandbox or sandbox claim cannot be found or was deleted.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public SandboxNotFoundException(String message) | 初始化 `SandboxNotFoundException` 实例。 Creates a new instance. |
public SandboxNotFoundException(String message, Throwable cause) | 初始化 `SandboxNotFoundException` 实例。 Creates a new instance. |
构造器详情Constructor Detail
SandboxNotFoundException
public SandboxNotFoundException(String message)
初始化 SandboxNotFoundException 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
message | String | 消息(类型 `String`)。The message. |
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/exceptions/SandboxNotFoundException.java:21–23SandboxNotFoundException
public SandboxNotFoundException(String message, Throwable cause)
初始化 SandboxNotFoundException 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
message | String | 消息(类型 `String`)。The message. |
cause | Throwable | cause(类型 `Throwable`)。The cause. |
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/exceptions/SandboxNotFoundException.java:25–27