-
public class FacebookRequestError.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerINVALID_ERROR_CODEprivate final IntegerINVALID_HTTP_STATUS_CODEprivate final FacebookRequestError.RangeHTTP_RANGE_SUCCESSprivate 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)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 FacebookRequestError.RangegetHTTP_RANGE_SUCCESS()final FacebookRequestErrorClassificationgetErrorClassification()final Parcelable.Creator<FacebookRequestError>getCREATOR()-
-
Method Detail
-
checkResponseAndCreateError
final FacebookRequestError checkResponseAndCreateError(JSONObject singleResult, Object batchResult, HttpURLConnection connection)
-
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;
-
getHTTP_RANGE_SUCCESS
final FacebookRequestError.Range getHTTP_RANGE_SUCCESS()
-
getErrorClassification
@Synchronized() final FacebookRequestErrorClassification getErrorClassification()
-
getCREATOR
final Parcelable.Creator<FacebookRequestError> getCREATOR()
-
-
-
-