public class OAuth20ExceptionUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.Class<?>,java.lang.String> |
exceptionMessage |
Constructor and Description |
---|
OAuth20ExceptionUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getMessage(OAuthException e,
java.util.Locale locale)
Preserved for compatibility, calls new signature
|
static java.lang.String |
getMessage(OAuthException e,
java.util.Locale locale,
java.lang.String encoding)
Get the appropriate error message for the given exception
|
public static java.util.Map<java.lang.Class<?>,java.lang.String> exceptionMessage
public static java.lang.String getMessage(OAuthException e, java.util.Locale locale)
e
- locale
- public static java.lang.String getMessage(OAuthException e, java.util.Locale locale, java.lang.String encoding)
e
- locale
- encoding
-