code: public void warning(org.xml.sax.SAXParseException e)
            throws org.xml.sax.SAXException
    {
  
      String formattedMsg = e.getMessage();
      SAXSourceLocator locator = getLocator();
      ErrorListener handler = m_stylesheetProcessor.getErrorListener();
  
      try
      {
        handler.warning(new TransformerException(formattedMsg, locator));
      }
      catch (TransformerException te)
      {
        throw new org.xml.sax.SAXException(te);
      }
    }
docs: Receive notification of a XSLT processing warning.
  
  @param e The warning information encoded as an exception.
  
  @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.