public class FacebookOAuthException extends FacebookGraphException
Example:
{
"error": {
"type": "OAuthException",
"message": "(#210) User not visible",
"code": 210,
"error_subcode": 123
}
}
Constructor and Description |
---|
FacebookOAuthException(String errorType,
String errorMessage,
Integer errorCode,
Integer errorSubcode,
Integer httpStatusCode)
Creates an exception with the given error type and message.
|
getErrorCode, getErrorMessage, getErrorSubcode, getErrorType, getHttpStatusCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FacebookOAuthException(String errorType, String errorMessage, Integer errorCode, Integer errorSubcode, Integer httpStatusCode)
errorType
- Value of the Facebook response attribute error.type
.errorMessage
- Value of the Facebook response attribute error.message
.errorCode
- Value of the Facebook response attribute error.code
.errorSubcode
- Value of the Facebook response attribute error.error_subcode
.httpStatusCode
- The HTTP status code returned by the server, e.g. 500.RestFB 1.7.0. Copyright © 2010-2014 Mark Allen. All Rights Reserved.