com.facebook
Class FacebookServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.facebook.FacebookException
com.facebook.FacebookServiceException
- All Implemented Interfaces:
- Serializable
public class FacebookServiceException
- extends FacebookException
Represents an error returned from the Facebook service in response to a request.
- See Also:
- Serialized Form
FacebookServiceException
public FacebookServiceException(FacebookRequestError error,
String errorMessage)
- Constructs a new FacebookServiceException.
- Parameters:
error
- the error from the request
getRequestError
public final FacebookRequestError getRequestError()
- Returns an object that encapsulates complete information representing the error returned by Facebook.
- Returns:
- complete information representing the error.
toString
public final String toString()
- Overrides:
toString
in class Throwable