-
- All Implemented Interfaces:
-
java.io.Serializable
public final class FacebookGraphResponseException extends FacebookException
Represents an issue that's returned by the Graph API.
-
-
Field Summary
Fields Modifier and Type Field Description private final GraphResponse
graphResponse
private final Throwable
cause
private final String
message
-
Constructor Summary
Constructors Constructor Description FacebookGraphResponseException(GraphResponse graphResponse, String errorMessage)
-
Method Summary
Modifier and Type Method Description final GraphResponse
getGraphResponse()
Throwable
getCause()
String
getMessage()
String
toString()
Getter for the graph response with the issue. -
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
-
FacebookGraphResponseException
FacebookGraphResponseException(GraphResponse graphResponse, String errorMessage)
- Parameters:
graphResponse
- The graph response with issue.errorMessage
- The error message.
-
-
Method Detail
-
getGraphResponse
final GraphResponse getGraphResponse()
-
getMessage
String getMessage()
-
-
-
-