remove unecessary getPrevious() when throwing DB exception