Android SDK Version
All Implemented Interfaces:
java.io.Serializable

public class FacebookServiceException
extends FacebookException
Represents an error returned from the Facebook service in response to a request.
Constructor Summary
Constructor and Description
FacebookServiceException(FacebookRequestError error, java.lang.String errorMessage)
Constructs a new FacebookServiceException.
Method Summary
Modifier and TypeMethod and Description
FacebookRequestErrorgetRequestError()
Returns an object that encapsulates complete information representing the error returned by Facebook.
java.lang.StringtoString() 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Constructor Detail

FacebookServiceException

public FacebookServiceException(FacebookRequestError error,
                                java.lang.String errorMessage)
Constructs a new FacebookServiceException.
Parameters:
error - the error from the request
Method Detail

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 java.lang.String toString()
Overrides: