Class OAuth20InvalidRedirectUriException
- 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.OAuth20InvalidRedirectUriException
-
- All Implemented Interfaces:
java.io.Serializable
public class OAuth20InvalidRedirectUriException extends OAuth20Exception
Represents an invalid redirect URI exception in an OAuth request.- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description OAuth20InvalidRedirectUriException(java.lang.String msgKey, java.lang.String redirectUri, java.lang.String registeredRedirectUri, java.lang.Throwable cause)
OAuth20InvalidRedirectUriException(java.lang.String msgKey, java.lang.String redirectURI, java.lang.Throwable cause)
OAuth20InvalidRedirectUriException(java.lang.String redirectURI, java.lang.Throwable cause)
Creates a OAuth20InvalidRedirectUriException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
formatSelf(java.util.Locale locale, java.lang.String encoding)
java.lang.String
getRedirectURI()
java.lang.String
getRegisteredRedirectURI()
-
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
-
-
-
-
Constructor Detail
-
OAuth20InvalidRedirectUriException
public OAuth20InvalidRedirectUriException(java.lang.String redirectURI, java.lang.Throwable cause)
Creates a OAuth20InvalidRedirectUriException.- Parameters:
redirectURI
- A redirect URI in a request.cause
- A root exception.
-
OAuth20InvalidRedirectUriException
public OAuth20InvalidRedirectUriException(java.lang.String msgKey, java.lang.String redirectURI, java.lang.Throwable cause)
-
OAuth20InvalidRedirectUriException
public OAuth20InvalidRedirectUriException(java.lang.String msgKey, java.lang.String redirectUri, java.lang.String registeredRedirectUri, java.lang.Throwable cause)
-
-
Method Detail
-
formatSelf
public java.lang.String formatSelf(java.util.Locale locale, java.lang.String encoding)
- Overrides:
formatSelf
in classOAuth20Exception
-
getRedirectURI
public java.lang.String getRedirectURI()
- Returns:
- redirect URI.
-
getRegisteredRedirectURI
public java.lang.String getRegisteredRedirectURI()
- Returns:
- registered redirect URI
-
-