[#BloombergLP-bsls-AssertViolation]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::AssertViolation
:relfileprefix: ../../
:mrdocs:

This class is an unconstrained _in&hyphen;core_ value&hyphen;semantic class that characterizes the details of a assert failure that has occurred&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class AssertViolation;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bsls/AssertViolation/2constructor.adoc[`AssertViolation`]         [.small]#[constructor]#
| Create an `AssertViolation` with the specified attributes&period;
| xref:BloombergLP/bsls/AssertViolation/assertLevel.adoc[`assertLevel`] 
| Return the `assertLevel` attribute of this object&period;
| xref:BloombergLP/bsls/AssertViolation/comment.adoc[`comment`] 
| Return the `comment` attribute of this object&period;
| xref:BloombergLP/bsls/AssertViolation/fileName.adoc[`fileName`] 
| Return the `fileName` attribute of this object&period;
| xref:BloombergLP/bsls/AssertViolation/lineNumber.adoc[`lineNumber`] 
| Return the `lineNumber` attribute of this object&period;
|===



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