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 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.