Skip to Content
.NET Common Language Runtime Unleashed
book

.NET Common Language Runtime Unleashed

by Kevin Burton
April 2002
Intermediate to advanced content levelIntermediate to advanced
1024 pages
23h 26m
English
Sams
Content preview from .NET Common Language Runtime Unleashed

Error Handling with Exceptions

Why does .NET take such a Draconian stance on error handling? With C++, several methods were available for handling errors, exceptions being among them. VB had an error-handling scheme that was remarkably similar to exceptions. The list goes on; each language had its own method of dealing with errors. Indeed, that was the problem. Each language had one or more ways of handling errors. One of the goals of the .NET platform was to create a unified environment where all languages were “equal.” For a language to interoperate seamlessly with another language, the error-handling schemes must be the same. If the error handling tried to be all things to all languages, then every time a new language or even a new error-handling ...

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

Customizing the Microsoft® .NET Framework Common Language Runtime

Customizing the Microsoft® .NET Framework Common Language Runtime

Steven Pratschner

Publisher Resources

ISBN: 0672321246Purchase book