Chapter 15. Using Managed Exceptions to Effectively Handle Errors

In This Chapter

The .NET Framework in conjunction with the CLR eliminates a large class of errors either at runtime through automatic garbage collection and type checking or at compile time through type checking, access checks, and so on. However, a class of errors still remains that can only be handled and detected at runtime. For example, the CLR cannot know that you want to access a file that does not exist until you attempt to access it. Errors will always exist due to ...

Get .NET Common Language Runtime Unleashed 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.