[#BloombergLP-bsls-AssertTestException_String-2constructor-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/AssertTestException_String.adoc[AssertTestException&lowbar;String]::AssertTestException&lowbar;String
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Create an `AssertTestException&lowbar;String` that owns a string whose value is the same as that owned by `original` if any&period;


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

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

Take ownership of the string owned by the specified `original`, if any, and set `original` to own no string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bsls/AssertTestException_String/2constructor-0b.adoc[AssertTestException&lowbar;String](xref:BloombergLP/bsls/AssertTestException_String.adoc[AssertTestException&lowbar;String]&& original);
----

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

Create an `AssertTestException&lowbar;String` that owns a copy of the string denoted by the specified `data` if it is not `NULL`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bsls/AssertTestException_String/2constructor-0c.adoc[AssertTestException&lowbar;String](char const* data);
----

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| object whose owned string is copied, if any
| *data*
| null&hyphen;terminated string to copy, or `NULL`
|===


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