public class DCErrorCode
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
java.lang.String |
code
错误码ID,码段: 600~700
|
java.lang.String |
codeName
错误码名称
|
java.lang.Object |
extra
错误码额外信息
|
java.lang.String |
msg
错误码信息
|
java.lang.String |
subcode
错误码名字
|
static int |
SUBCODE_NE_5GWIFI_NOTSUPPORT |
static int |
SUBCODE_NE_MOBILE_NOT_ENABLED |
static int |
SUBCODE_NE_WIFI_NOT_CONNECTED |
static int |
SUBCODE_PE_DEVICETYPE_ERROR |
static int |
SUBCODE_PE_LINKTYPE_ERROR |
static int |
SUBCODE_PE_PRODUCTKEY_EMPTY |
static int |
SUBCODE_PE_PROVISION_PARAMS_ERROR |
static int |
SUBCODE_PE_SSID_EMPTY |
static int |
SUBCODE_WRONG_CALL |
构造器和说明 |
---|
DCErrorCode(java.lang.String codeName,
int code) |
DCErrorCode(java.lang.String codeName,
int code,
int subcode,
java.lang.String message) |
DCErrorCode(java.lang.String codeName,
int code,
int subcode,
java.lang.String msg,
java.lang.Object extra) |
DCErrorCode(java.lang.String codeName,
int code,
java.lang.String msg) |
限定符和类型 | 方法和说明 |
---|---|
static DCErrorCode |
NETWORK_ERROR() |
static DCErrorCode |
PARAMS_ERROR() |
static DCErrorCode |
PROVISION_TIMEOUT() |
static DCErrorCode |
SDK_ERROR() |
static DCErrorCode |
SERVER_FAIL() |
DCErrorCode |
setExtra(java.lang.Object extra) |
DCErrorCode |
setMsg(java.lang.String msg) |
DCErrorCode |
setSubcode(int subcode) |
static DCErrorCode |
SYSTEM_ERROR() |
java.lang.String |
toString() |
static DCErrorCode |
UNKNOWN_ERROR() |
static DCErrorCode |
USER_CANCEL() |
public static final int SUBCODE_NE_5GWIFI_NOTSUPPORT
public static final int SUBCODE_NE_WIFI_NOT_CONNECTED
public static final int SUBCODE_NE_MOBILE_NOT_ENABLED
public static final int SUBCODE_PE_PRODUCTKEY_EMPTY
public static final int SUBCODE_PE_LINKTYPE_ERROR
public static final int SUBCODE_PE_DEVICETYPE_ERROR
public static final int SUBCODE_PE_PROVISION_PARAMS_ERROR
public static final int SUBCODE_PE_SSID_EMPTY
public static final int SUBCODE_WRONG_CALL
public java.lang.String code
public java.lang.String subcode
public java.lang.String codeName
public java.lang.String msg
public java.lang.Object extra
public DCErrorCode(java.lang.String codeName, int code)
public DCErrorCode(java.lang.String codeName, int code, java.lang.String msg)
public DCErrorCode(java.lang.String codeName, int code, int subcode, java.lang.String message)
public DCErrorCode(java.lang.String codeName, int code, int subcode, java.lang.String msg, java.lang.Object extra)
public static DCErrorCode SYSTEM_ERROR()
public static DCErrorCode NETWORK_ERROR()
public static DCErrorCode PARAMS_ERROR()
public static DCErrorCode UNKNOWN_ERROR()
public static DCErrorCode SDK_ERROR()
public static DCErrorCode USER_CANCEL()
public static DCErrorCode SERVER_FAIL()
public static DCErrorCode PROVISION_TIMEOUT()
public DCErrorCode setMsg(java.lang.String msg)
public DCErrorCode setSubcode(int subcode)
public DCErrorCode setExtra(java.lang.Object extra)
public java.lang.String toString()
toString
在类中 java.lang.Object