Skip to main content

Understanding Structured Exception Handling

  • Chapter
Pro VB 2010 and the .NET 4 Platform
  • 635 Accesses

Abstract

In this chapter you will learn how to handle runtime anomalies in your VB 2010 code through the use of structured exception handling (often cryptically abbreviated as SEH). Not only will you examine the VB 2010 keywords that allow you to handle such matters (Try, Catch, Throw, Finally), you will also come to understand the distinction between application-level and system-level exceptions, as well as the role of the System. Exception base class. This discussion will lead into the topic of building custom exceptions, and, finally, to a quick look at the exception-centric debugging tools of Visual Studio 2010.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Andrew Troelsen, Vidya Vrat Agarwal

About this chapter

Cite this chapter

(2010). Understanding Structured Exception Handling. In: Pro VB 2010 and the .NET 4 Platform. Apress. https://doi.org/10.1007/978-1-4302-2986-5_7

Download citation

Publish with us

Policies and ethics