if(se instanceof org.xml.sax.SAXParseException)
m_resultTreeHandler.fatalError((org.xml.sax.SAXParseException)se);
else if(se instanceof TransformerException)
{
TransformerException te = ((TransformerException)se);
SAXSourceLocator sl = new SAXSourceLocator( te.getLocator() );
m_resultTreeHandler.fatalError(new org.xml.sax.SAXParseException(te.getMessage(), sl, te));
}
else
{
m_resultTreeHandler.fatalError(new org.xml.sax.SAXParseException(se.getMessage(), new SAXSourceLocator(), se));
}
}
catch (Exception e){}
}
if(se instanceof TransformerException)
{
m_errorHandler.fatalError((TransformerException)se);
}
else if(se instanceof org.xml.sax.SAXParseException)
{
m_errorHandler.fatalError(new TransformerException(se.getMessage(),
new SAXSourceLocator((org.xml.sax.SAXParseException)se),
se));
}
else
{
m_errorHandler.fatalError(new TransformerException(se));