-
- All Implemented Interfaces:
-
java.io.Serializable
public final class FacebookServiceException extends FacebookException
Represents an error returned from the Facebook service in response to a request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
FacebookServiceException.Companion
-
Field Summary
Fields Modifier and Type Field Description private final FacebookRequestError
requestError
private final Throwable
cause
private final String
message
-
Constructor Summary
Constructors Constructor Description FacebookServiceException(FacebookRequestError requestError, String errorMessage)
-
Method Summary
Modifier and Type Method Description final FacebookRequestError
getRequestError()
Throwable
getCause()
String
getMessage()
String
toString()
Returns an object that encapsulates complete information representing the error returned by Facebook. -
Methods inherited from class java.lang.Exception
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
FacebookServiceException
FacebookServiceException(FacebookRequestError requestError, String errorMessage)
-
-
Method Detail
-
getRequestError
final FacebookRequestError getRequestError()
-
getMessage
String getMessage()
-
-
-
-