|
BDE 4.39.x Production Release
|
#include <bsls_review.h>
An object of this class saves the current review handler and installs the one specified on construction. On destruction, the original review handler is restored.
static) Review::lockReviewAdministration method (i.e., the temporary replacement will occur, regardless of whether that method has been invoked).See bsls_review
Public Member Functions | |
| ReviewFailureHandlerGuard (Review::ViolationHandler temporary) | |
| ~ReviewFailureHandlerGuard () | |
|
explicit |
Create a guard object that installs the specified temporary review failure handler and automatically restores the original handler on destruction.
| bsls::ReviewFailureHandlerGuard::~ReviewFailureHandlerGuard | ( | ) |
Restore the failure handler that was in place when this object was created and destroy this guard.