code: public static String getFormattedMessage(Class<?> aClass, ResourceBundle bundle, String bundleName,
                                               String key, Object[] args, String defaultString,
                                               Locale locale,
                                               boolean quiet) {
  
          return TraceNLSResolver.getInstance().getMessage(aClass,
                                                           bundle,
                                                           bundleName,
                                                           key,
                                                           args,
                                                           defaultString,
                                                           true,
                                                           locale,
                                                           quiet);
  
      }
docs: Return the message obtained by looking up the localized text
  corresponding to the specified key in the specified ResourceBundle using
  the specified Locale and formatting the resultant text using the
  specified substitution arguments.
  <p>
  The message is formatted using the java.text.MessageFormat class.
  Substitution parameters are handled according to the rules of that class.
  Most noteably, that class does special formatting for native java Date and
  Number objects.
  <p>
  If an error occurs in obtaining the localized text corresponding to this
  key, then the defaultString is used as the message text. If all else fails,
  this class will provide one of the default English messages to indicate
  what occurred.
  <p>
  
  @param aClass
  Class object calling this method
  @param bundle
  the ResourceBundle to use for lookups. Null is tolerated. If
  null is passed, the resource bundle will be looked up from
  bundleName. If not null, bundleName must match.
  @param bundleName
  the fully qualified name of the ResourceBundle. Must not be
  null.
  @param aClass
  the class representing the caller of the method-- used for
  loading the right resource bundle
  @param key
  the key to use in the ResourceBundle lookup. Must not be null.
  @param args
  substitution parameters that are inserted into the message
  text. Null is tolerated
  @param defaultString
  text to use if the localized text cannot be found. Must not be
  null.
  @param locale
  the Locale object to use when looking up the ResourceBundle.
  If null is passed, the default Locale will be used.
  <p>
  @param quiet
  indicates whether or not errors will be logged when
  encountered, and must be used in conjunction with com.ibm.
  @return a non-null message that is localized and formatted as
  appropriate.