resolution: use db exceptions and parameters