146147148149150151152153154155156
inserter.startRDF(); try { parser.parse(is, baseUri); } catch (Exception e) { inserter.endRDF(); sc.close(); throw e; } inserter.endRDF();
151152153154155156157158159160161
inserter.endRDF(); sc.close(); throw e; } inserter.endRDF(); sc.commit(); } finally { sc.rollback(); sc.close(); }
180181182183184185186187188189190
185186187188189190191192193194195