code: public void warn(String msg, Object args[]) throws org.xml.sax.SAXException
    {
  
      String formattedMsg = XSLMessages.createWarning(msg, args);
      SAXSourceLocator locator = getLocator();
      ErrorListener handler = m_stylesheetProcessor.getErrorListener();
  
      try
      {
        if (null != handler)
          handler.warning(new TransformerException(formattedMsg, locator));
      }
      catch (TransformerException te)
      {
        throw new org.xml.sax.SAXException(te);
      }
    }
docs: Warn the user of an problem.
  
  @param msg An key into the {@link org.apache.xalan.res.XSLTErrorResources}
  table, that is one of the WG_ prefixed definitions.
  @param args An array of arguments for the given warning.
  
  @throws org.xml.sax.SAXException that wraps a
  {@link javax.xml.transform.TransformerException} if the current
  {@link javax.xml.transform.ErrorListener#warning}
  method chooses to flag this condition as an error.
  @xsl.usage internal