public enum EncryptionExceptionEnum extends Enum<EncryptionExceptionEnum> implements AbstractExceptionEnum
| 枚举常量和说明 |
|---|
REQUEST_JSON_ERROR
请求的json格式错误,未包含加密的data字段数据以及加密的key字段
|
REQUEST_JSON_PARSE_ERROR
请求的json解析异常
|
RSA_DECRYPT_ERROR
解密失败
|
| 限定符和类型 | 方法和说明 |
|---|---|
static EncryptionExceptionEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static EncryptionExceptionEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetErrorCode, getUserTippublic static final EncryptionExceptionEnum REQUEST_JSON_PARSE_ERROR
public static final EncryptionExceptionEnum REQUEST_JSON_ERROR
public static final EncryptionExceptionEnum RSA_DECRYPT_ERROR
public static EncryptionExceptionEnum[] values()
for (EncryptionExceptionEnum c : EncryptionExceptionEnum.values()) System.out.println(c);
public static EncryptionExceptionEnum valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2024. All rights reserved.