The System.Exception Class : Exception : Language Basics C# Examples


C# Examples » Language Basics » Exception »

 

The System.Exception Class






In C#, exceptions are represented by classes.
All exception classes must be derived from the built-in exception class System.Exception.
SystemException class and ApplicationException class are derived from System.Exception.
SystemException support exceptions generated by the C# runtime system (that is, the Common Language Runtime)
ApplicationException support exceptions generated by application programs.
SystemException and ApplicationException add nothing to Exception.
SystemException and ApplicationException define the tops of two different exception hierarchies.




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Language Basics
» Exception