Once you catch an exception, you may want more information about the error. Exception classes may contain proprietary information (as you will see in the section "Declaring Your Own Exception" later in this chapter), but since all exceptions derive from System.Exception there are a few pieces of information that all exception objects must have. To extract exception information:
Tips
Table 11.1. System.Exception Properties and Methods (Properties and Methods that Enable You to Get More Information About the Exception)
|