Update to hierarchy of database exceptions