[#BloombergLP-bsls-AssertTestException-2constructor-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/AssertTestException.adoc[AssertTestException]::AssertTestException
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bsls&lowbar;asserttestexception&period;h&gt;`

Create an `AssertTestException` that is a copy of `original`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:BloombergLP/bsls/AssertTestException/2constructor-0a.adoc[AssertTestException](xref:BloombergLP/bsls/AssertTestException.adoc[AssertTestException] const& original) = default;
----

[.small]#xref:BloombergLP/bsls/AssertTestException/2constructor-0a.adoc[_» more&period;&period;&period;_]#

Create an `AssertTestException` moved from `original`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:BloombergLP/bsls/AssertTestException/2constructor-01.adoc[AssertTestException](xref:BloombergLP/bsls/AssertTestException.adoc[AssertTestException]&& original) = default;
----

[.small]#xref:BloombergLP/bsls/AssertTestException/2constructor-01.adoc[_» more&period;&period;&period;_]#

Create an `AssertTestException` with the specified attributes&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bsls/AssertTestException/2constructor-07.adoc[AssertTestException](
    char const* expression,
    char const* filename,
    int lineNumber,
    char const* level = &quot;UNKNOWN&quot;);
----

[.small]#xref:BloombergLP/bsls/AssertTestException/2constructor-07.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| 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
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
