}catch(TxRollbackException e){
System.out.println("Tx2 commit failed thanks to conflict, tx2 was rolled back");
}
//create yet another transaction and observe result
DB tx4 = txMaker.makeTx();
Map map4 = tx4.getTreeMap("testMap");
System.out.println("Map size after commits: "+map4.size());
System.out.println("Value inserted into tx2 and successfully commited: "+map4.get(-10));
System.out.println("Value inserted into tx3 before rollback: "+map4.get(100000));
System.out.println("Value inserted into tx3 which triggered rollback: "+map4.get(-11));