public class ConfigException extends Exception
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
BAD_GATEWAY |
static int |
CLIENT_INVALID_PARAM
client error code -400 -503 throw exception to user
|
static int |
CLIENT_OVER_THRESHOLD |
static int |
CONFLICT |
static int |
INVALID_PARAM
server error code 400 403 throw exception to user 500 502 503 change ip
and retry
|
static int |
NO_RIGHT |
static int |
OVER_THRESHOLD |
static int |
SERVER_ERROR |
| 构造器和说明 |
|---|
ConfigException() |
ConfigException(int errCode,
String errMsg) |
ConfigException(String errMsg) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getErrCode() |
String |
getErrMsg() |
void |
setErrCode(int errCode) |
void |
setErrMsg(String errMsg) |
String |
toString() |
public static final int CLIENT_INVALID_PARAM
public static final int CLIENT_OVER_THRESHOLD
public static final int INVALID_PARAM
public static final int NO_RIGHT
public static final int CONFLICT
public static final int SERVER_ERROR
public static final int BAD_GATEWAY
public static final int OVER_THRESHOLD
Copyright © 2018 Alibaba. All rights reserved.