public enum OAuthErrCode extends java.lang.Enum<OAuthErrCode>
| Enum Constant and Description |
|---|
WechatAuth_Err_Auth_Stopped |
WechatAuth_Err_Cancel |
WechatAuth_Err_JsonDecodeErr |
WechatAuth_Err_NetworkErr |
WechatAuth_Err_NormalErr |
WechatAuth_Err_OK |
WechatAuth_Err_Timeout |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
java.lang.String |
toString() |
static OAuthErrCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OAuthErrCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuthErrCode WechatAuth_Err_OK
public static final OAuthErrCode WechatAuth_Err_NormalErr
public static final OAuthErrCode WechatAuth_Err_NetworkErr
public static final OAuthErrCode WechatAuth_Err_JsonDecodeErr
public static final OAuthErrCode WechatAuth_Err_Cancel
public static final OAuthErrCode WechatAuth_Err_Timeout
public static final OAuthErrCode WechatAuth_Err_Auth_Stopped
public static OAuthErrCode[] values()
for (OAuthErrCode c : OAuthErrCode.values()) System.out.println(c);
public static OAuthErrCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getCode()
public java.lang.String toString()
toString in class java.lang.Enum<OAuthErrCode>