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

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 and Description
      static java.util.Map<java.lang.Class<?>,java.lang.String> exceptionMessage 
    • Method Summary

      Methods 
      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
      • 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(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: