|
|
1. |
Adding Exception Testing to Unit Tests
NEW!
-
This article describes a simple method of adding exhaustive testing of the exception paths to the test suite.
|
|
|
2. |
C++ Exception Handling
-
Introduces the concept of exception handling for handling program errors.
|
|
|
3. |
C++ Tutorial on Exceptions
-
This tutorial covers basic exception handling in C++. Several simple examples are presented and the concept of stack unwinding is described.
|
|
|
4. |
Constructor Failures (or, The Objects That Never Were)
-
Shows what object construction, and construction failure, mean in C++; and that function try blocks are useful to translate an exception thrown from a base or member subobject constructor.
|
|
|
5. |
Error and Exception Handling
-
Presents some guidelines when to use exceptions.
|
|
|
6. |
Exception Handling in C++
-
Learn how to throw an exception, how to associate handlers, or catch clauses, with a set of program statements using a try block, how exceptions are handled by catch clauses, exception specifications, and design considerations for programs that use exceptions.
|
|
|
7. |
Exception Handling: A False Sense Of Security
-
Explains why most members of the C++ community vastly underestimate the skills needed to program with exceptions and therefore underestimate the true costs of their use. By Tom Cargill.
|
|
|
8. |
Exception-Safety in Generic Components
-
Lessons learned from specifying exception-safety for the C++ standard library.
|
|
|
9. |
How a C++ Compiler Implements Exception Handling
-
An indepth discussion of how VC++ implements exception handling. Source code includes exception handling library for VC++.
|
|
|
10. |
Revisiting Exception Handling
NEW!
-
Reviews guidelines developed years ago for throwing exceptions and how to use exception specifications.
|
|
|
11. |
Throwing Destructors
-
It is becoming increasingly popular to consider throwing destructors a bad practice. This document presents some insights on the problem and shows that maybe throwing from a destructor is not such a bad idea.
|
|
|
12. |
Understanding C++ Exception Handling
-
Offers some insight into the use and potential misuse of exceptions.
|