[#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 `<bsls_asserttestexception.h>` Create an `AssertTestException` that is a copy of `original`. [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..._]# Create an `AssertTestException` moved from `original`. [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..._]# Create an `AssertTestException` with the specified attributes. [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 = "UNKNOWN"); ---- [.small]#xref:BloombergLP/bsls/AssertTestException/2constructor-07.adoc[_» more..._]# == 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]#