ShareException
分享異常介面:
public class ShareException extends RuntimeException {
/**
* 狀態代碼:使用者取消
*/
public static final int USER_CANCEL = 1001;
/**
* 狀態代碼:認證失敗
*/
public static final int AUTH_ERROR = 1002;
/**
* 狀態代碼:其他異常
*/
public static final int UNKNOWN_ERROR = 1003;
/**
* 狀態代碼:應用未安裝
*/
public static final int APP_UNINSTALL = 40501;
/**
* 擷取狀態代碼
* @return
*/
public int getStatusCode() {
return this.statusCode;
}
}