Understanding Structured Exception Handling

  • Andrew Troelsen

Abstract

The point of this chapter is to understand how to handle runtime anomalies in your C# code base through the use of structured exception handling. Not only will you learn about the C# keywords that allow you to handle such matters (try, catch, throw, finally), but you will also come to understand the distinction between application-level and system-level exceptions and learn the role of the System. Exception base class. This discussion will also provide a lead-in to the topic of building custom exceptions, as well as how to leverage the exception-centric debugging tools of Visual Studio 2008.

Keywords

Suffix 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Andrew Troelsen 2007

Authors and Affiliations

  • Andrew Troelsen

There are no affiliations available

Personalised recommendations