-
public class FacebookRequestError.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerINVALID_ERROR_CODEprivate final IntegerINVALID_HTTP_STATUS_CODEprivate final FacebookRequestErrorClassificationerrorClassificationpublic final Parcelable.Creator<FacebookRequestError>CREATORpublic final static FacebookRequestError.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description 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()-
-
Method Detail
-
checkResponseAndCreateError
final FacebookRequestError checkResponseAndCreateError(JSONObject singleResult, Object batchResult, HttpURLConnection connection)
Check Response and create error if necessary
- Parameters:
singleResult- jsonObject resultbatchResult- bach call result
-
getINVALID_ERROR_CODE
final Integer getINVALID_ERROR_CODE()
Represents an invalid or unknown error code from the server.
-
getINVALID_HTTP_STATUS_CODE
final Integer getINVALID_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;
-
getErrorClassification
@Synchronized() final FacebookRequestErrorClassification getErrorClassification()
-
getCREATOR
final Parcelable.Creator<FacebookRequestError> getCREATOR()
-
-
-
-