[#BloombergLP-bsls-Assert-invokeHandler-082]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/Assert.adoc[Assert]::invokeHandler
:relfileprefix: ../../../
:mrdocs:

`invokeHandler` overloads

== Synopses

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

Invoke the installed assertion&hyphen;failure handler with the violation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bsls/Assert/invokeHandler-0b.adoc[invokeHandler](xref:BloombergLP/bsls/AssertViolation.adoc[AssertViolation] const& violation);
----

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

Invoke the installed handler with expression text, file, and line&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bsls/Assert/invokeHandler-08d.adoc[invokeHandler](
    char const* text,
    char const* file,
    int line);
----

[.small]#xref:BloombergLP/bsls/Assert/invokeHandler-08d.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *violation*
| details of the failed assertion
| *text*
| expression text of the failed assertion
| *file*
| source file name where the assertion failed
| *line*
| source line number where the assertion failed
|===


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