Code example for TransformerException

Methods: printStackTrace

0
     * report an error to stderr 
     */ 
    public void error(TransformerException e)
    { 
        System.err.println("Error:");
        e.printStackTrace();
    } 
 
    /** 
     * report a fatal error to stderr 
     */ 
    public void fatalError(TransformerException e)
    { 
        System.err.println("Fatal Error:");
        e.printStackTrace();
    } 
 
    /** 
     * send a warning to stderr 
     */ 
    public void warning(TransformerException e)