AS AgentScopeAPI 手册 / API Reference

SandboxMetadataException

public class SandboxMetadataException extends SandboxException
源码Source io/agentscope/extensions/sandbox/kubernetes/client/exceptions/SandboxMetadataException.java:19–28

沙箱元数据异常,表示执行过程中的错误。位于 io.agentscope.extensions.sandbox.kubernetes.client.exceptions 包,继承自 SandboxException。核心成员包括 SandboxMetadataException。

Raised when the sandbox object is missing expected metadata.

构造器摘要Constructor Summary

构造器Constructor说明Description
public SandboxMetadataException(String message)
初始化 `SandboxMetadataException` 实例。
Creates a new instance.
public SandboxMetadataException(String message, Throwable cause)
初始化 `SandboxMetadataException` 实例。
Creates a new instance.

构造器详情Constructor Detail

SandboxMetadataException

public SandboxMetadataException(String message)

初始化 SandboxMetadataException 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
messageString消息(类型 `String`)。The message.
源码Source io/agentscope/extensions/sandbox/kubernetes/client/exceptions/SandboxMetadataException.java:21–23

SandboxMetadataException

public SandboxMetadataException(String message, Throwable cause)

初始化 SandboxMetadataException 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
messageString消息(类型 `String`)。The message.
causeThrowablecause(类型 `Throwable`)。The cause.
源码Source io/agentscope/extensions/sandbox/kubernetes/client/exceptions/SandboxMetadataException.java:25–27
基于官方固定版本源码静态生成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.