AS AgentScopeAPI 手册 / API Reference

VectorStoreException

public class VectorStoreException extends Exception
源码Source io/agentscope/core/rag/exception/VectorStoreException.java:24–44

向量存储异常,表示执行过程中的错误。位于 io.agentscope.core.rag.exception 包,继承自 Exception。核心成员包括 VectorStoreException。

Exception thrown when vector store operations fail.

This exception is used to wrap errors from vector database operations, providing context about the store and operation that failed.

构造器摘要Constructor Summary

构造器Constructor说明Description
public VectorStoreException(String message)
初始化 `VectorStoreException` 实例。
Creates a new VectorStoreException with the given message.
public VectorStoreException(String message, Throwable cause)
初始化 `VectorStoreException` 实例。
Creates a new VectorStoreException with the given message and cause.

构造器详情Constructor Detail

VectorStoreException

public VectorStoreException(String message)

初始化 VectorStoreException 实例。

Creates a new VectorStoreException with the given message.

参数Parameters
名称Name类型Type说明Description
messageString错误消息。the error message
源码Source io/agentscope/core/rag/exception/VectorStoreException.java:31–33

VectorStoreException

public VectorStoreException(String message, Throwable cause)

初始化 VectorStoreException 实例。

Creates a new VectorStoreException with the given message and cause.

参数Parameters
名称Name类型Type说明Description
messageString错误消息。the error message
causeThrowablecause(类型 `Throwable`)。the cause of this exception
源码Source io/agentscope/core/rag/exception/VectorStoreException.java:41–43
基于官方固定版本源码静态生成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.