Class FacebookAccessTokenErrorResponse

  • All Implemented Interfaces:
    java.io.Serializable

    public class FacebookAccessTokenErrorResponse
    extends com.github.scribejava.core.exceptions.OAuthException
    non standard Facebook replace for 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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      FacebookAccessTokenErrorResponse​(java.lang.String message, java.lang.String type, java.lang.String code, java.lang.String fbtraceId, java.lang.String rawResponse)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getCode()  
      java.lang.String getFbtraceId()  
      java.lang.String getRawResponse()  
      java.lang.String getType()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
    • Constructor Detail

      • FacebookAccessTokenErrorResponse

        public FacebookAccessTokenErrorResponse​(java.lang.String message,
                                                java.lang.String type,
                                                java.lang.String code,
                                                java.lang.String fbtraceId,
                                                java.lang.String rawResponse)
    • Method Detail

      • getType

        public java.lang.String getType()
      • getCode

        public java.lang.String getCode()
      • getFbtraceId

        public java.lang.String getFbtraceId()
      • getRawResponse

        public java.lang.String getRawResponse()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable