< prev index next >

test/javax/xml/jaxp/unittest/transform/Bug6940416.java

Print this page




  98             e.printStackTrace();
  99             Assert.fail(e.toString());
 100         } catch (TransformerConfigurationException e) {
 101             // An error occurred in the XSL file
 102             e.printStackTrace();
 103             Assert.fail(e.toString());
 104         } catch (TransformerException e) {
 105             e.printStackTrace();
 106             // An error occurred while applying the XSL file
 107             // Get location of error in input file
 108             SourceLocator locator = e.getLocator();
 109             int col = locator.getColumnNumber();
 110             int line = locator.getLineNumber();
 111             String publicId = locator.getPublicId();
 112             String systemId = locator.getSystemId();
 113             Assert.fail("error while applying the XSL file." + "systemId : " + systemId + ". publicId : " + publicId + ". col : " + col + ". line : " + line);
 114         }
 115     }
 116 
 117 }
 118 


  98             e.printStackTrace();
  99             Assert.fail(e.toString());
 100         } catch (TransformerConfigurationException e) {
 101             // An error occurred in the XSL file
 102             e.printStackTrace();
 103             Assert.fail(e.toString());
 104         } catch (TransformerException e) {
 105             e.printStackTrace();
 106             // An error occurred while applying the XSL file
 107             // Get location of error in input file
 108             SourceLocator locator = e.getLocator();
 109             int col = locator.getColumnNumber();
 110             int line = locator.getLineNumber();
 111             String publicId = locator.getPublicId();
 112             String systemId = locator.getSystemId();
 113             Assert.fail("error while applying the XSL file." + "systemId : " + systemId + ". publicId : " + publicId + ". col : " + col + ". line : " + line);
 114         }
 115     }
 116 
 117 }

< prev index next >