Skip to Main Content
Building Applications and Components with Visual Basic .NET
book

Building Applications and Components with Visual Basic .NET

by Ted Pattison, Dr. Joe Hummel
October 2003
Intermediate to advanced content levelIntermediate to advanced
592 pages
13h 42m
English
Addison-Wesley Professional
Content preview from Building Applications and Components with Visual Basic .NET

Exception Classes

The .NET Framework's model for structured exception handling centers on a class named Exception that is defined in the System namespace. The Exception class is particularly important because of one specific rule that is imposed by the Common Language Specification (CLS): Every exception object must be created from either the Exception class or a class that inherits from Exception. As a consequence, every CLS-compliant exception object shares a programming contract and an underlying implementation that is defined by the Exception class.

Why did the architects of the .NET Framework choose to employ an inheritance-based model for structured exception handling? The use of inheritance makes it possible to create different types of ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Visual Basic® .NET Power Coding

Visual Basic® .NET Power Coding

Paul Kimmel
Visual Basic 2015 Unleashed

Visual Basic 2015 Unleashed

Alessandro Del Sole
Programming in the .NET Environment

Programming in the .NET Environment

Damien Watkins, Mark Hammond, Brad Abrams

Publisher Resources

ISBN: 0201734958Purchase book