O'Reilly logo

C How to Program, Fifth Edition by H. M. Deitel - Deitel & Associates, Inc., P. J. Deitel - Deitel & Associates, Inc.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 27. Exception Handling

 

I never forget a face, but in your case I’ll be glad to make an exception.

 
 --Groucho Marx
 

It is common sense to take a method and try it. If it fails, admit it frankly and try another. But above all, try something.

 
 --Franklin Delano Roosevelt
 

O! throw away the worser part of it, And live the purer with the other half.

 
 --William Shakespeare
 

If they’re running and they don’t look where they’re going I have to come out from somewhere and catch them.

 
 --Jerome David Salinger
 

O infinite virtue! com’st thou smiling from the world’s great snare uncaught?

 
 --William Shakespeare
<feature><title>Objectives</title>

In this chapter you will learn:

<objective>

What exceptions are and when to use them.

</objective>
<objective> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required