Chapter 20. Exceptions and State Management
In this chapter:
Defining Your Own Exception Class
Trading Reliability for Productivity
Exception-Handling Performance Considerations
Constrained Execution Regions (CERs)
This chapter is all about error handling. But it’s not just about that. There are several parts to error handling. First, we’ll define what an error actually is. Then, we’ll talk about how to discover when your code is experiencing an error and about how to recover from this error. At this point, state becomes an issue because errors ...
Get CLR via C#, Fourth 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.