filter: use db exceptions and parameters