Table of Contents 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Notes DownloadECMA-334 C# Language Specification


23 Exceptions
23.2 The System.Exception class
Paragraph 11 The System.Exception class is the base type of all exceptions. 2 This class has a few notable properties that all exceptions share: - 3 Message is a read-only property of type string that contains a human-readable description of the reason for the exception.
- 4 InnerException is a read-only property of type Exception. 5 If its value is non-null, it refers to the exception that caused the current exception. 6 (That is, the current exception was raised in a catch block handling the type InnerException.) 7 Otherwise, its value is null, indicating that this exception was not caused by another exception. 8 (The number of exception objects chained together in this manner can be arbitrary.)
Paragraph 21 The value of these properties can be specified in calls to the instance constructor for System.Exception. |
Jagger Software Ltd |
Company # 4070126 |
VAT # 762 5213 42 |

