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:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionInstagramAccessTokenErrorResponse(String errorType, int code, String errorMessage, Response response) -
Method Summary
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, setStackTrace
-
Constructor Details
-
InstagramAccessTokenErrorResponse
public InstagramAccessTokenErrorResponse(String errorType, int code, String errorMessage, Response response) throws IOException - Throws:
IOException
-
-
Method Details
-
getErrorType
-
getCode
public int getCode() -
getErrorMessage
-
equals
- Overrides:
equalsin classOAuthResponseException
-
hashCode
public int hashCode()- Overrides:
hashCodein classOAuthResponseException
-
toString
-