Chapter 9. Error Handling Strategies
FAQ 9.01 Is error handling a major source of fundamental mistakes?
Unfortunately, error handling is usually not considered during the design process in most systems, and instead it is allowed to evolve chaotically and in an ad hoc manner. Part of this is the old-dog-new-trick problem: many programmers' instincts about error handling are based on outdated technology, which tends to lead them in the wrong direction. The purpose of this chapter is to present a sound strategy for modern error handling.
A software application's error-handling strategy must be designed as carefully as the rest of the system. ...