EncryptionException
public static class EncryptionException extends RuntimeException
源码Source
io/agentscope/extensions/model/dashscope/DashScopeEncryptionUtils.java:172–180Encryption 异常,表示执行过程中的错误。位于 io.agentscope.extensions.model.dashscope 包,继承自 RuntimeException。核心成员包括 EncryptionException。
Exception thrown when encryption/decryption operations fail.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public EncryptionException(String message) | 初始化 `EncryptionException` 实例。 Creates a new instance. |
public EncryptionException(String message, Throwable cause) | 初始化 `EncryptionException` 实例。 Creates a new instance. |
构造器详情Constructor Detail
EncryptionException
public EncryptionException(String message)
初始化 EncryptionException 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
message | String | 消息(类型 `String`)。The message. |
源码Source
io/agentscope/extensions/model/dashscope/DashScopeEncryptionUtils.java:173–175EncryptionException
public EncryptionException(String message, Throwable cause)
初始化 EncryptionException 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
message | String | 消息(类型 `String`)。The message. |
cause | Throwable | cause(类型 `Throwable`)。The cause. |
源码Source
io/agentscope/extensions/model/dashscope/DashScopeEncryptionUtils.java:177–179