Try/catch on exception from SQLite