improvements in exception handling for db
Merge branch 'db' into affiliate
Merge branch 'db' into newid
Merge branch 'newid' into affiliate
Merge branch 'affiliate'
Merge branch 'db' into skein
Merge branch 'skein'
Merge branch 'db' into souk
Merge branch 'newid' into souk
Merge branch 'db' into stockpile
Merge branch 'newid' into stockpile
Merge branch 'stockpile' into souk
Merge branch 'souk'
Merge branch 'db' into store_db
Merge branch 'store_db'
Merge branch 'db' into stratum
Merge branch 'stratum'