throw new TransformerException(se);
transformer.getErrorListener().fatalError(new TransformerException(se));
  public void execute(          TransformerImpl transformer, Node sourceNode, QName mode)            throws TransformerException  {    try    {      transformer.getResultTreeHandler().flushPending();      XPathContext liaison = ((XPathContext) transformer.getXPathContext());      ExtensionsTable etable = liaison.getExtensionsTable();      ExtensionHandler nsh = etable.get(m_extns);      // We're seeing this extension namespace used for the first time.  Try to      // autodeclare it as a java namespace.      if (null == nsh)      {        nsh = etable.makeJavaNamespace(m_extns);        if(null != nsh)          etable.addExtensionNamespace(m_extns, nsh);        else        {          executeFallbacks(transformer, sourceNode, mode);          return;        }      }      try      {        nsh.processElement(this.getLocalName(), this, transformer,                           getStylesheet(), sourceNode.getOwnerDocument(),                           sourceNode, mode, this);      }      catch (Exception e)      {        // System.out.println(e);        // e.printzStackTrace();        String msg = e.getMessage();                TransformerException te;        if(e instanceof TransformerException)        {          te = (TransformerException)e;        }        else        {          if(null != msg)            te = new TransformerException(e);          else            te = new TransformerException("Unknown error when calling extension!", e);        }        if(null == te.getLocator())          te.setLocator(this);        if (null != msg)        {          if (msg.indexOf("fatal") >= 0)          {            transformer.getErrorListener().fatalError(te);          }          else if(e instanceof RuntimeException)                  transformer.getErrorListener().error(te); // ??          else            transformer.getErrorListener().warning(te);        }        else                transformer.getErrorListener().error(te); // ??        executeFallbacks(          transformer, sourceNode, mode);      }    }    catch(org.xml.sax.SAXException se)    {      throw new TransformerException(se);    }  }