[#BloombergLP-bsls-AssertTestException-2constructor-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/AssertTestException.adoc[AssertTestException]::AssertTestException :relfileprefix: ../../../ :mrdocs: Create an `AssertTestException` with the specified attributes. == Synopsis Declared in `<bsls_asserttestexception.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- AssertTestException( char const* expression, char const* filename, int lineNumber, char const* level = "UNKNOWN"); ---- == Description Create a `AssertTestException` object with the specified `expression`, `filename`, `lineNumber`, and `level`. The behavior is undefined unless `0 < line` and all of `expression`, `filename`, and `level` are `NULL` or point to valid null‐terminated character strings. == Parameters [cols="1,4"] |=== | Name| Description | *expression* | program source of the failing assertion | *filename* | name of the file containing the assertion | *lineNumber* | line number within that file of the failing assertion | *level* | level of the assertion that has failed |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#