BloombergLP::bsls::FuzzTestPreconditionTracker::handleException

Handle a caught fuzz-test precondition exception.

Synopsis

Declared in <bsls_fuzztest.h>

static
void
handleException(FuzzTestPreconditionException const& exception);

Description

Invoke the assertion/review handler returned by FuzzTestHandlerGuard::getOriginalAssertionHandler or FuzzTestHandlerGuard::getOriginalReviewHandler if the assertion/review violation wrapped by the specified exception was encountered in a component different from one supplied to initStaticState, and do nothing otherwise.

Parameters

NameDescription
exceptionexception wrapping the assertion or review violation