Code example for TransformerConfigurationException

Methods: printStackTrace

0
		TransformerFactory factory = TransformerFactory.newInstance();
		StreamSource src = new StreamSource(xslt);
		//Get an XSL Transformer object 
		this.transformer = factory.newTransformer(src);
	    } catch (TransformerConfigurationException e) {
		e.printStackTrace();
	    } 
	} 
    } 
 
    /** 
     * {@inheritDoc} 
     */ 
    @Override 
    public void end() throws IOException { 
	// First we finish the XML report 
	super.end(); 
	// Now we transform it using XSLT 
	Writer writer = super.getWriter();
	if (writer instanceof StringWriter) {
	    StringWriter w = (StringWriter) writer;