Class OAuth20AccessDeniedException
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.OAuth20AccessDeniedException
- All Implemented Interfaces:
Serializable
Represents an authorization exception to access protected resources.
- 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
ConstructorDescriptionCreates a OAuth20AccessDeniedException.OAuth20AccessDeniedException
(String msgKey) -
Method Summary
Modifier and TypeMethodDescriptionformatSelf
(Locale locale, String encoding) int
void
setHttpStatusCode
(int iHttpStatusCode) Methods inherited from class com.ibm.oauth.core.api.error.oauth20.OAuth20Exception
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
-
OAuth20AccessDeniedException
public OAuth20AccessDeniedException()Creates a OAuth20AccessDeniedException. -
OAuth20AccessDeniedException
-
-
Method Details
-
formatSelf
- Overrides:
formatSelf
in classOAuth20Exception
-
setHttpStatusCode
public void setHttpStatusCode(int iHttpStatusCode) -
getHttpStatusCode
public int getHttpStatusCode()
-