ASP.NET Developer's JumpStart By Paul D. Sheriff, Ken Getz
Table of Contents
Part II. Data Handling
OBJECTIVES
Compare error handling in Visual Basic .NET to that found in VB6
Learn to use Try/Catch blocks to handle runtime errors
Find out how to use Exception objects to determine what error has occurred
See how to throw exceptions back to procedure callers
The .NET Framework provides structured exception handling using the Try, Catch, Finally, and Throw keywords in VB .NET. This type of error handling has been available, in some fashion, in C++ for a number of years. With the release of the .NET Common Language Runtime (CLR), this type of error handling is available to all the .NET languages, including VB .NET.