July 2015
Intermediate to advanced
1300 pages
87h 27m
English
In development environments other than .NET, programming languages can handle errors occurring during the application execution in different ways. For example, the Windows native APIs return a 32-bit HRESULT number in case an error occurs. Visual Basic 6 uses the On Error statements, whereas other languages have their own error-handling infrastructures. As you can imagine, such differences cannot be allowed in the .NET Framework because all languages rely on the Common Language Runtime (CLR), so all of them must intercept and handle errors the same way. With that said, the .NET Framework identifies errors as exceptions. An exception is an instance of the System.Exception class (or of a class derived from it) and provides ...