code: public void message(SourceLocator srcLctr, String msg, boolean terminate) throws TransformerException
    {
  
      ErrorListener errHandler = m_transformer.getErrorListener();
  
      if (null != errHandler)
      {
        errHandler.warning(new TransformerException(msg, srcLctr));
      }
      else
      {
        if (terminate)
          throw new TransformerException(msg, srcLctr);
        else
          System.out.println(msg);
      }
    }
docs: Warn the user of a problem.
  This is public for access by extensions.
  
  @param msg The message text to issue
  @param terminate Flag indicating whether to terminate this process
  @throws XSLProcessorException thrown if the active ProblemListener and XPathContext decide
  the error condition is severe enough to halt processing.
  
  @throws TransformerException