severity: use db exceptions and parameters