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

Immutable exception conveying failed&hyphen;precondition context to a test handler&period;

== Synopsis

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

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

== Description

This class is an implementation detail of the `bsls` fuzz testing framework and should not be used directly in user code&period; It implements an immutable mechanism to communicate to a test&hyphen;case handler information about the context of a precondition that fails&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bsls/FuzzTestPreconditionException/2constructor-07.adoc[`FuzzTestPreconditionException`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bsls/FuzzTestPreconditionException/2destructor.adoc[`&#126;FuzzTestPreconditionException`] [.small]#[destructor]#
| Destroy this object&period; Note that this trivial destructor&apos;s definition is compiler generated&period;
| xref:BloombergLP/bsls/FuzzTestPreconditionException/expression.adoc[`expression`] 
| Return a string containing the program source of the assertion that has failed&period;
| xref:BloombergLP/bsls/FuzzTestPreconditionException/filename.adoc[`filename`] 
| Return a string containing the filename of the source file containing the assertion that has failed&period;
| xref:BloombergLP/bsls/FuzzTestPreconditionException/isReview.adoc[`isReview`] 
| Return a flag indicating if the failure is a review&period;
| xref:BloombergLP/bsls/FuzzTestPreconditionException/level.adoc[`level`] 
| Return a string containing a representation of the level of assertion or review macro that failed&period;
| xref:BloombergLP/bsls/FuzzTestPreconditionException/lineNumber.adoc[`lineNumber`] 
| Return the number of the line within the file `filename` containing the assertion that failed&period;
|===



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