13. Exception Handling: A Deeper Look

Objectives

In this chapter you’ll:

Image Learn when to use exception handling.

Image Use try blocks to delimit code that may throw exceptions.

Image Use throw to indicate a problem at runtime.

Image Use catch blocks to specify exception handlers.

Understand what happens to uncaught exceptions.

Understand the mechanics of exception ...

Get C# 6 for Programmers, Sixth Edition now with O’Reilly online learning.

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