BloombergLP::bsls::AssertTestException

This class is an implementation detail of the bsls testing framework and should not be used directly in user code. It implements an immutable mechanism to communicate information about the context of an assertion that fails to a test-case handler.

Synopsis

Declared in <bsls_asserttestexception.h>

class AssertTestException;

Member Functions

NameDescription
AssertTestException [constructor]Constructors
~AssertTestException [destructor]Destroy this object. Note that this destructor's definition is compiler generated.
expression Return a string containing the program source of the assertion that has failed.
filename Return a string containing the filename of the source file containing the assertion that has failed.
level Return a string containing a representation of the level of assertion or review macro that failed.
lineNumber Return the number of the line within the file filename containing the assertion that failed.