Class 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  
    • 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 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: