Lecture overview -- Keyboard shortcut: 'u'  Previous page: Handling exceptions in C# -- Keyboard shortcut: 'p'  Next page: The class System.Exception in C# -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 19 : 30
Object-oriented Programming in C#
Exception Handling
The hierarchy of exceptions in C#

An excerpt of the exception class hierarchy of C#

 

  • Exception

    • ApplicationException

      • Your own exception types

    • SystemException

      • ArgumentException

        • ArgumentNullException

        • ArgumentOutOfRangeException

      • DivideByZeroException

      • IndexOutOfRangeException

      • NullReferenceException

      • RankException

      • StackOverflowException

      • IOException

        • EndOfStreamException

        • FileNotFoundException

        • FileLoadException

Go to exerciseExceptions in class Stack
Go to exerciseMore exceptions in class Stack