[#BloombergLP-bslstl-StdExceptUtil-throwInvalidArgument]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/StdExceptUtil.adoc[StdExceptUtil]::throwInvalidArgument
:relfileprefix: ../../../
:mrdocs:

Throw a `std&colon;&colon;invalid&lowbar;argument` exception supplying the specified `message` as the sole argument to its constructor&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;stdexceptutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;noreturn&rsqb;&rsqb;
static
void
throwInvalidArgument(char const* message);
----

== Return Value

[NOTE]
====
This function https://en.cppreference.com/cpp/language/attributes/noreturn[does not return^].
====

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