[#BloombergLP-bslma-TestAllocatorException-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/TestAllocatorException.adoc[TestAllocatorException]::TestAllocatorException
:relfileprefix: ../../../
:mrdocs:

Create an exception object initialized with the specified `numBytes` that indicates an allocation request size&period;

== Synopsis

Declared in `&lt;bslma&lowbar;testallocatorexception&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
TestAllocatorException(xref:BloombergLP/bslma/TestAllocatorException/size_type.adoc[size&lowbar;type] numBytes);
----


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