Standard exception handling (database)
Merge pull request #2 from FlyingPirate/master

Standard exception handling (database)