Handling Exceptions and Life's Other Disappointments

An exception is an occurrence of an undesirable situation that can be detected during program execution. Wouldn't it be great if we could build a program to handle undesirable situations automatically? Well now we can! In Chapter 15 we will:
  • Learn what an exception is
  • Learn how to handle exceptions within a program
  • See how a try/catch block is used to handle exceptions
  • Become familiar with C++ exception classes
  • Learn how to create your own exception classes
  • Discover how to throw and rethrow an exception
  • Explore stack unwinding

No comments:

Post a Comment