com.ibm.oauth.core.api.error.oauth20
Class OAuth20ExceptionUtil

java.lang.Object
  extended by com.ibm.oauth.core.api.error.oauth20.OAuth20ExceptionUtil

public class OAuth20ExceptionUtil
extends java.lang.Object


Field Summary
static java.util.Map<java.lang.Class<?>,java.lang.String> exceptionMessage
           
 
Constructor Summary
OAuth20ExceptionUtil()
           
 
Method Summary
static java.lang.String getMessage(com.ibm.oauth.core.api.error.OAuthException e, java.util.Locale locale)
          Generate the error message for the given exception
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exceptionMessage

public static java.util.Map<java.lang.Class<?>,java.lang.String> exceptionMessage
Constructor Detail

OAuth20ExceptionUtil

public OAuth20ExceptionUtil()
Method Detail

getMessage

public static java.lang.String getMessage(com.ibm.oauth.core.api.error.OAuthException e,
                                          java.util.Locale locale)
Generate the error message for the given exception

Parameters:
e -
locale -
Returns:
the error message string