Class OAuth20ExceptionUtil
- java.lang.Object
-
- com.ibm.oauth.core.api.error.oauth20.OAuth20ExceptionUtil
-
public class OAuth20ExceptionUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Map<java.lang.Class<?>,java.lang.String>
exceptionMessage
-
Constructor Summary
Constructors Constructor Description OAuth20ExceptionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getMessage(OAuthException e, java.util.Locale locale)
Preserved for compatibility, calls new signaturestatic java.lang.String
getMessage(OAuthException e, java.util.Locale locale, java.lang.String encoding)
Get the appropriate error message for the given exception
-
-
-
Method Detail
-
getMessage
public static java.lang.String getMessage(OAuthException e, java.util.Locale locale)
Preserved for compatibility, calls new signature- Parameters:
e
-locale
-- Returns:
-
getMessage
public static java.lang.String getMessage(OAuthException e, java.util.Locale locale, java.lang.String encoding)
Get the appropriate error message for the given exception- Parameters:
e
-locale
-encoding
-- Returns:
-
-