Class InvalidGrantException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.oauth.core.api.error.OAuthException
com.ibm.oauth.core.api.error.oauth20.OAuth20Exception
com.ibm.oauth.core.api.error.oauth20.InvalidGrantException
- All Implemented Interfaces:
Serializable
Represents an exception while processing OAuth 2.0 request and response.
This class is the base class for all OAuth 2.0 component exceptions.
- See Also:
-
Field Summary
Fields inherited from class com.ibm.oauth.core.api.error.oauth20.OAuth20Exception
ACCESS_DENIED, INSUFFICIENT_SCOPE, INVALID_CLIENT, INVALID_GRANT, INVALID_REQUEST, INVALID_SCOPE, INVALID_TOKEN, SERVER_ERROR, TEMPORARILY_UNAVAILABLE, UNAUTHORIZED_CLIENT, UNSUPPORED_GRANT_TPE, UNSUPPORTED_RESPONSE_TPE
-
Constructor Summary
ConstructorDescriptionInvalidGrantException
(String message, Throwable cause) Creates a OAuth20Exception. -
Method Summary
Methods inherited from class com.ibm.oauth.core.api.error.oauth20.OAuth20Exception
formatSelf, getError
Methods inherited from class com.ibm.oauth.core.api.error.OAuthException
getMsgKey, getObjects
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidGrantException
Creates a OAuth20Exception.- Parameters:
error
- A message for the OAuth 2.0 error.message
- A message for the general OAuth error.cause
- A root exception.
-