code: public static final String createWarning(String msgKey, Object args[])  //throws Exception
    {
        // BEGIN android-changed
        //     don't localize exception messages
        return createMsg(XSLTBundle, msgKey, args);
        // END android-changed
    }
docs: Creates a message from the specified key and replacement
  arguments, localized to the given locale.
  
  @param msgKey    The key for the message text.
  @param args      The arguments to be used as replacement text
  in the message created.
  
  @return The formatted warning string.