Exception Handling


In object-oriented programming languages errors can be represented as objects. Run-time errors are referred to as exceptions. In this section we will study how exceptions can be represented as objects, and how errors can be classified by means class hierarchies. In addition, we will take a look at the facilities in C# that allows us to throw and handle the exceptions.

Table of contents