BloombergLP::bsls::Assert::failThrow

DEPRECATED: Use failByThrow instead.

Synopsis

Declared in <bsls_assert.h>

[[noreturn]]
static
void
failThrow(
    char const* comment,
    char const* file,
    int line);

Description

Throw an AssertTestException whose attributes are the specified comemnt, file, line, and level provided that BDE_BUILD_TARGET_EXC is defined; otherwise, log an appropriate message and abort the program (similar to failAbort).

Return Value

NOTE

This function does not return.