com.qq.connect
类 QQConnectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.qq.connect.QQConnectException
- 所有已实现的接口:
- java.io.Serializable
public class QQConnectException
- extends java.lang.Exception
用来表示在调用api过程中出错的异常类,
从此异常类对象可以获取详细的出错信息
- 另请参见:
- 序列化表格
从类 java.lang.Throwable 继承的方法 |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QQConnectException
public QQConnectException(java.lang.String msg)
QQConnectException
public QQConnectException(java.lang.Exception cause)
QQConnectException
public QQConnectException(java.lang.String msg,
int statusCode)
throws JSONException
- 抛出:
JSONException
QQConnectException
public QQConnectException(java.lang.String msg,
JSONObject json,
int statusCode)
throws JSONException
- 抛出:
JSONException
QQConnectException
public QQConnectException(java.lang.String msg,
java.lang.Exception cause)
QQConnectException
public QQConnectException(java.lang.String msg,
java.lang.Exception cause,
int statusCode)
getStatusCode
public int getStatusCode()
- 获取Http 请求的返回码
- 返回: