Exceptions
Have you ever experienced an exception? (See Figure 16-4 for an example.) Of course, I am sure that any exception occurred while you were using an application that someone else wrote. As a kind gesture, you volunteered to help diagnose the problem and correct their unstable application.
Figure 16-4. A typical dialog box reporting an exception
Managed exceptions start life as native exceptions. To raise an exception, the CLR calls mscorwks!RaiseTheException. RaiseTheException then calls RaiseException, which is a system-level API. RaiseException assigns all managed exceptions the exception code of E0434F4D. Because all managed exceptions ...
Get Programming Microsoft® Visual C#® 2008: The Language now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.