public enum TyhErrorCode extends Enum<TyhErrorCode>
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCode() |
String |
getMsg() |
static TyhErrorCode |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static TyhErrorCode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final TyhErrorCode SUCCESS
public static final TyhErrorCode NULL_EXCEPTION
public static final TyhErrorCode NUMBER_FORMAT_ERROR
public static final TyhErrorCode ACCESS_ID_ERROR
public static final TyhErrorCode FILE_NOT_FOUND
public static final TyhErrorCode REQUEST_TOO_QUICK
public static final TyhErrorCode REQUEST_EXPIRED
public static final TyhErrorCode REQUEST_TIMEOUT
public static final TyhErrorCode SIGN_ALGORITHM_ERROR
public static final TyhErrorCode REQUEST_NETWORKS_ERROR
public static final TyhErrorCode USER_ALREADY_EXISTS
public static final TyhErrorCode USER_NOT_EXISTS
public static final TyhErrorCode AUTH_ERROR
public static final TyhErrorCode NO_VALUE_PRESENT
public static final TyhErrorCode TOO_MANY_REQUESTS
public static final TyhErrorCode FAILED_DELETE
public static final TyhErrorCode NOT_ALLOW_UPLOAD
public static final TyhErrorCode INTERNAL_SERVER
public static TyhErrorCode[] values()
for (TyhErrorCode c : TyhErrorCode.values()) System.out.println(c);
public static TyhErrorCode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int getCode()
public String getMsg()
Copyright © 2022. All rights reserved.