Code example for TransformerException

Methods: setLocator

0
    catch (SAXException se)
    { 
      throw new TransformerException(se);
    } 
    catch (RuntimeException re) {
    	TransformerException te = new TransformerException(re);
    	te.setLocator(this);
    	throw te;
    } 
    finally 
    { 
      if (transformer.getDebug())
	    transformer.getTraceManager().fireTraceEndEvent(this); 
    } 
  } 
 
  /** 
   * Add a child to the child list. 
   * 
   * @param newChild Child to add to children list 
   *