Skip to Content
Head First C#, 3rd Edition
book

Head First C#, 3rd Edition

by Jennifer Greene, Andrew Stellman
September 2013
Beginner content levelBeginner
1098 pages
31h 24m
English
O'Reilly Media, Inc.
Content preview from Head First C#, 3rd Edition

Chapter 12. Exception Handling: Putting out fires gets old

image with no caption

Programmers aren’t meant to be firefighters.

You’ve worked your tail off, waded through technical manuals and a few engaging Head First books, and you’ve reached the pinnacle of your profession. But you’re still getting panicked phone calls in the middle of the night from work because your program crashes, or doesn’t behave like it’s supposed to. Nothing pulls you out of the programming groove like having to fix a strange bug...but with exception handling, you can write code to deal with problems that come up. Better yet, you can even react to those problems, and keep things running.

Brian needs his excuses to be mobile

Brian recently got reassigned to the international division. Now he flies all over the world. But he still needs to keep track of his excuses, so he installed the Excuse Manager app on his laptop and takes it with him everywhere.

image with no caption

But the program isn’t working!

Brian chose a brand new, empty folder and clicked the Random Excuse button, and got a pretty nasty-looking error. What gives?

image with no caption
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

Head First C#, 4th Edition

Head First C#, 4th Edition

Andrew Stellman, Jennifer Greene
Head First C#, 2nd Edition

Head First C#, 2nd Edition

Andrew Stellman, Jennifer Greene
Head First C#, 5th Edition

Head First C#, 5th Edition

Andrew Stellman, Jennifer Greene
Head First C

Head First C

David Griffiths, Dawn Griffiths

Publisher Resources

ISBN: 9781449358846Errata PageSupplemental Content