Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
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: