Chapter 6. Handling Errors and Exceptions

Every application might encounter errors during its execution, even when you spend several nights on testing the application and all the possible execution scenarios. Runtime errors are especially unpredictable because the application execution is conditioned by user actions. Because of this, error handling is a fundamental practice that, as a developer, you need to know in depth. In this chapter you learn how the .NET Framework enables handling errors and how to get information to solve problems deriving such errors. In other words, you learn about .NET exceptions.

Introducing Exceptions

In development environments other than .NET, programming ...

Get Visual Basic® 2012 Unleashed, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.