Constructors

Synopses

Declared in <bsls_asserttestexception.h>

Create an AssertTestException that is a copy of original.

constexpr
AssertTestException(AssertTestException const& original) = default;

Create an AssertTestException moved from original.

constexpr
AssertTestException(AssertTestException&& original) = default;

Create an AssertTestException with the specified attributes.

AssertTestException(
    char const* expression,
    char const* filename,
    int lineNumber,
    char const* level = "UNKNOWN");

Parameters

Name

Description

original

object providing the attribute values to copy

expression

program source of the failing assertion

filename

name of the file containing the assertion

lineNumber

line number within that file of the failing assertion

level

level of the assertion that has failed

Created with MrDocs