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);
  }
}

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 ) ; } }
warn the user of an problem .
