CHAPTER 13

images

Exception Management

This chapter will discuss the exception and exception handling in .NET using C#. The chapter begins with the definition of exception and then explains how the CLR manages the exception in .NET by discussing exception-handling information in the Method Description table and how the CLR uses this exception-handling information to manage the exception. I will then discuss exception handling in .NET by examining the protected block and throw and rethrow statements in .NET. The chapter then explores the stack overwrite by discussing how the CLR manages the exception throughout the method call chain using the throw ...

Get Expert C# 5.0: with the .NET 4.5 Framework 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.