Package com.ibm.oauth.core.api.error
Class OAuthException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.oauth.core.api.error.OAuthException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
OAuth20Exception,OAuthConfigurationException
public abstract class OAuthException extends java.lang.ExceptionRepresents an exception while processing OAuth request and response. This class is the base class for all OAuth component exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OAuthException(java.lang.String message, java.lang.Throwable cause)Creates a OAuthException.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.StringformatSelf(java.util.Locale locale, java.lang.String encoding)abstract java.lang.StringgetError()Gets error type for this OAuth exceptionjava.lang.StringgetMsgKey()java.lang.Object[]getObjects()
-
-
-
Method Detail
-
getError
public abstract java.lang.String getError()
Gets error type for this OAuth exception- Returns:
- error type
-
formatSelf
public abstract java.lang.String formatSelf(java.util.Locale locale, java.lang.String encoding)
-
getMsgKey
public java.lang.String getMsgKey()
-
getObjects
public java.lang.Object[] getObjects()
-
-