561562563564565566567568569570571
} tx.commit(); } catch (Throwable e) { if (tx != null) { try { tx.rollback(); } catch (Throwable ex) { ex.printStackTrace(); } } throw e;
96979899100101102103104105106
{ try { if (tx != null && tx.isInProgress()) { tx.rollback(); } } catch (Exception ex2) { }
483484485486487488489490491492493
assertEquals("Cache was damaged.", "oldStreet", address.getStreet()); tx.commit(); } catch (Throwable e) { if (tx != null) { try { tx.rollback(); } catch (Throwable ex) { ex.printStackTrace(); } } throw e;
529530531532533534535536537538539
addresses = _conn.getCollectionByQuery(q); tx.commit(); } catch (Throwable e) { if (tx != null) { try { tx.rollback(); } catch (Throwable ex) { ex.printStackTrace(); } } throw e;
567568569570571572573574575576577
594595596597598599600601602603604
949596979899100101102103104
6162636465666768697071
} catch (LockingException ex) { if (tx.isInProgress()) { tx.rollback(); } throw ex; } finally {
979899100101102103104105106107
210211212213214215216217218219220
} catch (QueryInvalidException ex) { if (tx.isInProgress()) { tx.rollback(); } throw new Exception("Invalid OQl expression given"); } catch (QueryParameterCountInvalidException ex) {