April 2022
Intermediate to advanced
1012 pages
38h 1m
English
Objectives
In this chapter, you’ll:
Understand the exception-handling flow of control with try, catch and throw.
Provide exception guarantees for your code.
Understand the standard library exception hierarchy.
Define a custom exception class.
Understand how stack unwinding enables exceptions not caught in one scope to be caught in an enclosing scope.
Handle dynamic memory allocation failures.
Catch exceptions of any type with catch(...).
Understand what happens with uncaught exceptions.
Understand which exceptions should not be handled and which cannot be handled.
Understand why some organizations disallow exceptions and the impact that can have on software development efforts.
Understand the ...
Read now
Unlock full access