Chapter 14. Exception Handling
Don’t interrupt me while I’m interrupting. | ||
--Winston S. Churchill |
Error handling — grouping of exceptions — catching exceptions — catch all — rethrow — resource management — auto_ptr — exceptions and new — resource exhaustion — exceptions in constructors — exceptions in destructors — exceptions that are not errors — exception specifications — unexpected exceptions — uncaught exceptions — exceptions and efficiency — error-handling alternatives — standard exceptions — advice — exercises.
Error Handling
As pointed out in §8.3, the author of a library can detect run-time errors but does not in general have any idea what to do about them. The user of a library may know how to cope with such errors but cannot detect them ...
Get The C++ Programming Language, Special Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.