locator = ((StylesheetHandler)(((TransformerFactoryImpl)this.m_tfactory).newTemplatesHandler())).getLocator();
}
catch (TransformerConfigurationException tce)
{
}
DefaultErrorHandler handler;
if (m_problemListener == null)
handler = (DefaultErrorHandler)m_tfactory.getErrorListener();
else
handler = (DefaultErrorHandler)m_problemListener.getErrorHandler();
TransformerException te = (null == e) ? new TransformerException(fmsg, locator) :
new TransformerException(fmsg, locator, e);
if(null != handler)
{
try{
handler.fatalError(te);
}
catch (TransformerException te2)
{
throw new SAXException(te2);
}