Class FacebookAccessTokenErrorResponse
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.scribejava.core.exceptions.OAuthException
-
- com.github.scribejava.apis.facebook.FacebookAccessTokenErrorResponse
-
- All Implemented Interfaces:
Serializable
public class FacebookAccessTokenErrorResponse extends OAuthException
non standard Facebook replace forOAuth2AccessTokenErrorResponse
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:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getCode()
Deprecated.usegetCodeInt()
int
getCodeInt()
String
getFbtraceId()
String
getRawResponse()
String
getType()
int
hashCode()
String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
getType
public String getType()
-
getCode
@Deprecated public String getCode()
Deprecated.usegetCodeInt()
- Returns:
- code
-
getCodeInt
public int getCodeInt()
-
getFbtraceId
public String getFbtraceId()
-
getRawResponse
public String getRawResponse()
-
-