Chapter 8. Handling Exceptions

Key concepts in this chapter are:

  • Understanding where exceptions occur

  • Implementing exception handling

  • Determining what information to give when an exception occurs

No one is perfect. No matter how well organized, pre-prepared, and appropriately equipped a person is, things invariably, inevitably, and commonly go wrong. Put it down to lack of perfection, and make this the excuse for why we miss airplane flights, wear inappropriate clothes to social functions, and buy the wrong birthday presents for our spouses. Interestingly, we often expect others to be perfect. This illustrates the old saying, "We judge ourselves by our intentions and others by their actions." As with other areas of life, the users of computer software ...

Get Security for Microsoft® Visual Basic® .NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.