Class FacebookAccessTokenErrorResponse
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.scribejava.core.exceptions.OAuthException
com.github.scribejava.core.model.OAuthResponseException
com.github.scribejava.apis.facebook.FacebookAccessTokenErrorResponse
- All Implemented Interfaces:
Serializable
non standard Facebook replace for
'{"error":{"message":"This authorization code has been used.","type":"OAuthException","code":100,"fbtrace_id":"DtxvtGRaxbB"}}'
'{"error":{"message":"Error validating application. Invalid application ID.","type":"OAuthException","code":101,"fbtrace_id":"CvDR+X4WWIx"}}'
OAuth2AccessTokenErrorResponse
examples:'{"error":{"message":"This authorization code has been used.","type":"OAuthException","code":100,"fbtrace_id":"DtxvtGRaxbB"}}'
'{"error":{"message":"Error validating application. Invalid application ID.","type":"OAuthException","code":101,"fbtrace_id":"CvDR+X4WWIx"}}'
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFacebookAccessTokenErrorResponse
(String errorMessage, String type, int code, String fbtraceId, Response response) -
Method Summary
Methods inherited from class com.github.scribejava.core.model.OAuthResponseException
getResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
FacebookAccessTokenErrorResponse
public FacebookAccessTokenErrorResponse(String errorMessage, String type, int code, String fbtraceId, Response response) throws IOException - Throws:
IOException
-
-
Method Details
-
getErrorMessage
-
getType
-
getCodeInt
public int getCodeInt() -
getFbtraceId
-
hashCode
public int hashCode()- Overrides:
hashCode
in classOAuthResponseException
-
equals
- Overrides:
equals
in classOAuthResponseException
-
toString
-