public enum ExceptAws extends Enum<ExceptAws> implements IExcept
| 枚举常量和说明 |
|---|
Aws_sts_token_expired |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDesc() |
String |
getErrMsg() |
String |
getErrMsg(Object errBean) |
String |
getErrorCode() |
int |
getErrorValue() |
String |
getHttp() |
static int |
getHttp(IExcept error) |
static int |
getHttp(String http)
通过http得到httpstatus
|
int |
getHttpCode() |
int |
getHttpCodeSub() |
void |
setHttpCode(int httpCode) |
void |
setHttpCodeSub(int httpCodeSub) |
static ExceptAws |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ExceptAws[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ExceptAws Aws_sts_token_expired
public static ExceptAws[] values()
for (ExceptAws c : ExceptAws.values()) System.out.println(c);
public static ExceptAws valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int getErrorValue()
getErrorValue 在接口中 IExceptpublic String getErrorCode()
getErrorCode 在接口中 IExceptpublic int getHttpCode()
public void setHttpCode(int httpCode)
public int getHttpCodeSub()
public void setHttpCodeSub(int httpCodeSub)
public static int getHttp(String http)
http - http编码public static int getHttp(IExcept error)
Copyright © 2023. All rights reserved.