Package com.restfb.exception
Contains exceptions that RestFB may throw while attempting to communicate with the Facebook API endpoints.
For full documentation and sample code, please see the RestFB website.
-
Interface Summary Interface Description FacebookExceptionMapper Specifies a method for mapping Graph and Old REST API exceptions to corresponding instances ofFacebookException
. -
Class Summary Class Description ExceptionInformation immutable container to transfer all data used to create the correct facebook exception -
Exception Summary Exception Description FacebookCheckedException FacebookErrorMessageException Abstract class to provide access to the JSON Facebook provides in case of an errorFacebookException Root of the RestFB exception hierarchy.FacebookGraphException Indicates that the Facebook Graph API endpoint returned JSON which indicates an error condition.FacebookJsonMappingException Indicates that an error occurred while mapping JSON data to a Java object.FacebookLoggerException FacebookNetworkException Indicates that a network error occurred while trying to connect to the Facebook API endpoint.FacebookOAuthException Indicates that the Facebook Graph API endpoint returned JSON which indicates an error condition related to the OAuth token included in the request.FacebookPreconditionException Exception that's thrown as soon as a precondition is not matchedFacebookQueryParseException Indicates that the Facebook Graph API endpoint returned JSON which indicates an error condition related to FQL query parsing.FacebookResponseContentException Indicates that the Facebook Graph API endpoint returned an unexpected response body.FacebookResponseStatusException Indicates that the Legacy REST Facebook endpoint returned JSON which indicates an error condition.FacebookSignedRequestParsingException Indicates that signed request parsing failed.FacebookSignedRequestVerificationException Indicates that signed request verification failed.ResponseErrorJsonParsingException Exception is thrown if it makes no sense to parse a error json