Android SDK Version
Method Summary
Modifier and TypeMethodDescription
final FacebookRequestErrorcheckResponseAndCreateError(JSONObject singleResult, Object batchResult, HttpURLConnection connection) Check Response and create error if necessary
final IntegergetINVALID_ERROR_CODE() Represents an invalid or unknown error code from the server.
final IntegergetINVALID_HTTP_STATUS_CODE() Indicates that there was no valid HTTP status code returned, indicating that either the error occurred locally, before the request was sent, or that something went wrong with the HTTP connection.
final FacebookRequestErrorClassificationgetErrorClassification()
final Parcelable.Creator<FacebookRequestError>getCREATOR()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

checkResponseAndCreateError

 final FacebookRequestErrorcheckResponseAndCreateError(JSONObject singleResult, Object batchResult, HttpURLConnection connection)
Check Response and create error if necessary
Parameters:
singleResult - jsonObject result
batchResult - bach call result

getINVALID_ERROR_CODE

 final IntegergetINVALID_ERROR_CODE()
Represents an invalid or unknown error code from the server.

getINVALID_HTTP_STATUS_CODE

 final IntegergetINVALID_HTTP_STATUS_CODE()
Indicates that there was no valid HTTP status code returned, indicating that either the error occurred locally, before the request was sent, or that something went wrong with the HTTP connection. Check the exception from .getException;