partners: use db exceptions