O'Reilly logo

C++ for Programmers: Deitel by Harvey M. Deitel, Paul J. Deitel

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

16. Exception Handling

Objectives

In this chapter you’ll learn:

Image  What exceptions are and when to use them.

Image  To use try, catch and throw to detect, handle and indicate exceptions, respectively.

Image  To process uncaught and unexpected exceptions.

Image  To declare new exception classes.

  How stack unwinding enables exceptions not caught in one scope ...

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