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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.