Package com.restfb.exception
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.
-
InterfaceDescriptionSpecifies a method for mapping Graph and Old REST API exceptions to corresponding instances of
FacebookException
. -
ClassDescriptionimmutable container to transfer all data used to create the correct facebook exception
-
ExceptionDescriptionAbstract class to provide access to the JSON Facebook provides in case of an error Sometime a developer needs to access the plain error to get a more in depth view to the error.Root of the RestFB exception hierarchy.Indicates that the Facebook Graph API endpoint returned JSON which indicates an error condition.Indicates that an error occurred while mapping JSON data to a Java object.Indicates that a network error occurred while trying to connect to the Facebook API endpoint.Indicates that the Facebook Graph API endpoint returned JSON which indicates an error condition related to the OAuth token included in the request.Exception that's thrown as soon as a precondition is not matchedIndicates that the Facebook Graph API endpoint returned JSON which indicates an error condition related to FQL query parsing.Indicates that the Facebook Graph API endpoint returned an unexpected response body.Indicates that the Legacy REST Facebook endpoint returned JSON which indicates an error condition.Indicates that signed request parsing failed.Indicates that signed request verification failed.Exception is thrown if it makes no sense to parse a error json