private void rollback ( Transaction txn , Exception cause ) throws Exception { try { txn . rollback ( ) ; } catch ( Exception e ) { logger . debug ( e , "Error while rolling back transaction " + txn ) ; } finally { throw cause ; } }
Rolling back given transaction caused by given cause .