Updated names of database exceptions