A TransactionRolledBackException exception must be thrown when a call to Session.commit() results in a rollback of the current transaction.
See: