Class InstagramAccessTokenErrorResponse
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.instagram.InstagramAccessTokenErrorResponse
- All Implemented Interfaces:
java.io.Serializable
public class InstagramAccessTokenErrorResponse extends OAuthResponseException
non standard Instagram replace for
'{"error_type": "OAuthException", "code": 400, "error_message": "Missing required field client_id"}'
OAuth2AccessTokenErrorResponse
examples:'{"error_type": "OAuthException", "code": 400, "error_message": "Missing required field client_id"}'
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description InstagramAccessTokenErrorResponse(java.lang.String errorType, int code, java.lang.String errorMessage, Response response) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetCode()java.lang.StringgetErrorMessage()java.lang.StringgetErrorType()inthashCode()java.lang.StringtoString()Methods inherited from class com.github.scribejava.core.model.OAuthResponseException
getResponseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
InstagramAccessTokenErrorResponse
public InstagramAccessTokenErrorResponse(java.lang.String errorType, int code, java.lang.String errorMessage, Response response) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Details
-
getErrorType
public java.lang.String getErrorType() -
getCode
public int getCode() -
getErrorMessage
public java.lang.String getErrorMessage() -
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classOAuthResponseException
-
hashCode
public int hashCode()- Overrides:
hashCodein classOAuthResponseException
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Throwable
-