in reply to Re^6: Capturing error thrown by a databasein thread Capturing error thrown by a database