public enum S3DwzErrorType extends Enum<S3DwzErrorType>
| Enum Constant and Description |
|---|
DOMAIN_AUTH_ERROR
域名权限异常
|
INVALID_CLIENT_ID
不合法的client_id
|
PARAM_ERROR
参数错误
|
SIGNATURE_ERROR
密钥错误
|
SYS_ERROR
参数错误
|
| Modifier and Type | Method and Description |
|---|---|
static S3DwzErrorType |
getByCode(String code)
根据code获取枚举
|
String |
getCode() |
String |
getDesc() |
static S3DwzErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static S3DwzErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final S3DwzErrorType PARAM_ERROR
public static final S3DwzErrorType SIGNATURE_ERROR
public static final S3DwzErrorType INVALID_CLIENT_ID
public static final S3DwzErrorType DOMAIN_AUTH_ERROR
public static final S3DwzErrorType SYS_ERROR
public static S3DwzErrorType[] values()
for (S3DwzErrorType c : S3DwzErrorType.values()) System.out.println(c);
public static S3DwzErrorType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getCode()
public String getDesc()
@Nullable public static S3DwzErrorType getByCode(String code)
code - 错误代码Copyright © 2021–2022 EasyJ开源社区. All rights reserved.