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. 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 2005.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2007 Andrew Troelsen
About this chapter
Cite this chapter
(2007). Understanding Structured Exception Handling. In: Pro C# with .NET 3.0. Apress. https://doi.org/10.1007/978-1-4302-0201-1_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0201-1_6
Publisher Name: Apress
Print ISBN: 978-1-59059-823-8
Online ISBN: 978-1-4302-0201-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books