October 2003
Intermediate to advanced
784 pages
14h 21m
English
By now you have a basic idea of how to implement structured exception handling in your code. Now let’s take a quick overview of exception-related classes provided by the .NET Framework library.
The Exception class is the first class we will discuss. It caters to errors that occur during normal application execution. This is the base class for all exception classes. In our previous samples, we have already seen how to use the Exception class. Table A.1 describes its properties.
Listing A.8 uses the Exception class properties to display information about an exception.
// The error within this block try { // Suspect ... |
Read now
Unlock full access