in reply to comprehensive error handling

You might find Best Practices for Exception Handling a useful read.