Package com.ibm.oauth.core.api.error
Class OAuthConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.oauth.core.api.error.OAuthException
com.ibm.oauth.core.api.error.OAuthConfigurationException
- All Implemented Interfaces:
Serializable
Represents an exception while processing OAuth component configuration.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionOAuthConfigurationException
(String msgKey, String configProperty, String value, Throwable cause) OAuthConfigurationException
(String configProperty, String value, Throwable cause) Creates a OAuthConfigurationException. -
Method Summary
Modifier and TypeMethodDescriptionformatSelf
(Locale locale, String encoding) Returns A configuration property for the error message.getError()
Gets error type for this OAuth exceptiongetValue()
Returns A configuration property value for the message resource.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
-
Field Details
-
ERROR_TYPE
- See Also:
-
-
Constructor Details
-
OAuthConfigurationException
Creates a OAuthConfigurationException.- Parameters:
configProperty
- A configuration property for the error message.value
- A configuration property value for the message resource.cause
- A root exception.
-
OAuthConfigurationException
-
-
Method Details
-
getConfigProperty
Returns A configuration property for the error message.- Returns:
- A configuration property for the error message.
-
getValue
Returns A configuration property value for the message resource.- Returns:
- A configuration property value for the message resource.
-
getError
Description copied from class:OAuthException
Gets error type for this OAuth exception- Specified by:
getError
in classOAuthException
- Returns:
- error type
-
formatSelf
- Specified by:
formatSelf
in classOAuthException
-