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
Share this Page URL
Help

Chapter 8. Implementing Object Collabora... > Handling Exceptions in the .NET Fram...

8.9. Handling Exceptions in the .NET Framework

When objects collaborate, things can go wrong. Exceptions are things that you do not expect to occur during normal processing. For example, you may be trying to save data to a database over the network when the connection fails, or you may be trying to save to a drive without a disk in the drive. Your applications should be able to gracefully handle any exceptions that occur during application processing.

The .NET Framework uses a structured exception handling mechanism. The following are some of the benefits of this structured exception handling:


  

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