Chapter 9. Error Handling in VB.NET

   

In this chapter, we take a concise look at error-handling techniques in VB.NET. Note that the terms exception and error are used synonymously throughout the VB.NET documentation, and so we use them interchangeably in this chapter.

VB.NET supports the On Error Goto style of error handling, which is supported by earlier versions of Visual Basic (with some new wrinkles ). This type of error handling is referred to as unstructured error handling . However, unlike earlier versions of Visual Basic, VB.NET also supports the structured exception handling technique familiar to C++ programmers, which is now the preferred method of error handling in VB.NET.

   


VB.Net Language in a Nutshell
VB.NET Language in a Nutshell
ISBN: B00006L54Q
EAN: N/A
Year: 2002
Pages: 503

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net