185186187188189190191192193194195
store.insertCoordinatorJob(coordJob); store.commitTrx(); } catch (StoreException se) { se.printStackTrace(); store.rollbackTrx(); fail("Unable to insert the test job record to table"); throw se; } finally { store.closeTrx();
269270271272273274275276277278279
182183184185186187188189190191192
266267268269270271272273274275276
156157158159160161162163164165166
169170171172173174175176177178179
store.commitTrx(); fail("Action ID " + actionId + " should be purged"); } catch (StoreException se) { try { store.rollbackTrx(); } catch (RuntimeException re) { re.printStackTrace(); } }
190191192193194195196197198199200
store.commitTrx(); fail("Job ID " + jobId + " should be purged"); } catch (StoreException se) { try { store.rollbackTrx(); } catch (RuntimeException re) { re.printStackTrace(); } }
118119120121122123124125126127128
store.commitTrx(); } catch (StoreException ex) { if (store != null) { store.rollbackTrx(); } log.warn("Exception while accessing the store", ex); } catch (Exception ex) { log.error("Exception, {0}", ex.getMessage(), ex);