This exception must be thrown when a call to Session.commit results in a rollback of the current transaction.
Session.commit
This exception must be thrown when a call to
Session.commitresults in a rollback of the current transaction.