logger.error("SqlException: " + ex.getMessage()); logger.error("Deadlock trying to insert: " + sqlCmd.toString()); throw new CommitException();
final Transaction causedConflict = ce.getTransactionCausedConflict(); tx.abort();
throw new jvstm.CommitException(); throw new CommitException(); } catch (LookupException le) { throw new Error("Error while obtaining database connection", le);
if (!validateCommit()) { // we may use a variation here, because we know we don't need to recheck the queue logger.warn("Invalid commit. Restarting."); throw new jvstm.CommitException();