The Promise of Structured Exception Handling
Many ASP.NET developers using VB .NET will be coming to this environment with some VB6, VBA, or VBScript development experience. Although Visual Basic in its various “flavors” has supported its own mechanism for handling errors for as long as “Visual” has been attached to the title, the techniques available to V0o0iuB developers have never seemed fully fleshed out. In planning for exception handling in .NET, it's useful to contrast the new features with those many developing in ASP.NET are accustomed to using. (Listing 12.1 demonstrates a simple VB6 procedure with standard error-handling code in place.) Several issues surrounding VB's error handling have caused much complaining among VB developers, ...
Get ASP.NET Developer's JumpStart now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.