adapted to new database exceptions