RAGFlowAuthException
public class RAGFlowAuthException extends RAGFlowApiException
源码Source
io/agentscope/core/rag/integration/ragflow/exception/RAGFlowAuthException.java:23–32RAG Flow 认证异常,表示执行过程中的错误。位于 io.agentscope.core.rag.integration.ragflow.exception 包,继承自 RAGFlowApiException。核心成员包括 RAGFlowAuthException。
Exception thrown when RAGFlow authentication fails (401/403).
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public RAGFlowAuthException(String message, int statusCode) | 初始化 `RAGFlowAuthException` 实例。 Creates a new instance. |
public RAGFlowAuthException(String message, int statusCode, Throwable cause) | 初始化 `RAGFlowAuthException` 实例。 Creates a new instance. |
构造器详情Constructor Detail
RAGFlowAuthException
public RAGFlowAuthException(String message, int statusCode)
初始化 RAGFlowAuthException 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
message | String | 消息(类型 `String`)。The message. |
statusCode | int | 状态 Code(类型 `int`)。The status code. |
源码Source
io/agentscope/core/rag/integration/ragflow/exception/RAGFlowAuthException.java:25–27RAGFlowAuthException
public RAGFlowAuthException(String message, int statusCode, Throwable cause)
初始化 RAGFlowAuthException 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
message | String | 消息(类型 `String`)。The message. |
statusCode | int | 状态 Code(类型 `int`)。The status code. |
cause | Throwable | cause(类型 `Throwable`)。The cause. |
源码Source
io/agentscope/core/rag/integration/ragflow/exception/RAGFlowAuthException.java:29–31