Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Summary

Consciously specify, and conscientiously apply, what so many projects leave to adhoc (mis)judgment: Develop a practical, consistent, and rational error handling policy early in design, and then stick to it. Ensure that it includes:

  • Identification: What conditions are errors.

  • Severity: How important or urgent each error is.

  • Detection: Which code is responsible for detecting the error.

  • Propagation: What mechanisms are used to report and propagate error notifications in each module.

  • Handling: What code is responsible for doing something about the error.

  • Reporting: How the error will be logged or users notified.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial