Bug 900289 - Review comment: Remove Exception catch-all statements.
Bug 900289 - Review comment: Make finding a non-existent ID more efficient in SQL.