13. Exception Handling: A Deeper Look
Objectives
In this chapter you’ll:
Learn when to use exception handling.
Use try
blocks to delimit code that may throw exceptions.
Use throw
to indicate a problem at runtime.
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.