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:
java.io.Serializable
public class OAuthConfigurationException extends OAuthException
Represents an exception while processing OAuth component configuration.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ERROR_TYPE
-
Constructor Summary
Constructors Constructor Description OAuthConfigurationException(java.lang.String msgKey, java.lang.String configProperty, java.lang.String value, java.lang.Throwable cause)
OAuthConfigurationException(java.lang.String configProperty, java.lang.String value, java.lang.Throwable cause)
Creates a OAuthConfigurationException.
-
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
getConfigProperty()
Returns A configuration property for the error message.java.lang.String
getError()
Gets error type for this OAuth exceptionjava.lang.String
getValue()
Returns A configuration property value for the message resource.-
Methods inherited from class com.ibm.oauth.core.api.error.OAuthException
getMsgKey, getObjects
-
-
-
-
Field Detail
-
ERROR_TYPE
public static final java.lang.String ERROR_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OAuthConfigurationException
public OAuthConfigurationException(java.lang.String configProperty, java.lang.String value, java.lang.Throwable cause)
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
public OAuthConfigurationException(java.lang.String msgKey, java.lang.String configProperty, java.lang.String value, java.lang.Throwable cause)
-
-
Method Detail
-
getConfigProperty
public java.lang.String getConfigProperty()
Returns A configuration property for the error message.- Returns:
- A configuration property for the error message.
-
getValue
public java.lang.String getValue()
Returns A configuration property value for the message resource.- Returns:
- A configuration property value for the message resource.
-
getError
public java.lang.String getError()
Description copied from class:OAuthException
Gets error type for this OAuth exception- Specified by:
getError
in classOAuthException
- Returns:
- error type
-
formatSelf
public java.lang.String formatSelf(java.util.Locale locale, java.lang.String encoding)
- Specified by:
formatSelf
in classOAuthException
-
-