Skip to Main Content
Sams Teach Yourself C# 5.0 in 24 Hours
book

Sams Teach Yourself C# 5.0 in 24 Hours

by Scott J. Dorman
November 2012
Intermediate to advanced content levelIntermediate to advanced
544 pages
12h 3m
English
Sams
Content preview from Sams Teach Yourself C# 5.0 in 24 Hours

Hour 11. Handling Errors Using Exceptions

As an application executes, it can encounter any number of possible error conditions. C# handles these error conditions using exceptions, which encapsulate the information about an error in a single class. Exceptions are intended to be used only for failure reporting, so they provide a consistent way to report and respond to those failures. Exceptions are not intended to provide a mechanism to control program flow, to report success conditions, or to be used as a ...

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

Sams Teach Yourself C#™ in 24 Hours

Sams Teach Yourself C#™ in 24 Hours

James Foxall, Wendy Haro-Chun

Publisher Resources

ISBN: 9780133256581Purchase book