Overview
Thorough exception handling is an essential part of every robust program. Every programming language has some form of error handling, and some are better than others. Visual Basic has always used the On Error Goto structure of error handling. Although this is acceptable to most programmers, it certainly isn’t ideal. Exception handling is vastly improved in .NET.
There are four aspects of exception handling: using the exception class, Structured Exception Handling, throwing exceptions, and creating custom exception objects.
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
© 2002 Brian Bischof
About this chapter
Cite this chapter
Bischof, B. (2002). Exception Handling. In: The .NET Languages: A Quick Translation Guide. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-1136-5_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-1136-5_5
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-893115-48-4
Online ISBN: 978-1-4302-1136-5
eBook Packages: Springer Book Archive