Throw an exception describing the specified review violation.
Synopsis
Declared in <bsls_review.h>
[[noreturn]]
static
void
failByThrow(ReviewViolation const& violation);
Description
Throw an AssertTestException (whose attributes are comment, filename, and lineNumber from the specified violation), provided that BDE_BUILD_TARGET_EXC is defined; otherwise, log an appropriate message and abort the program (similar to failByAbort).
Return Value
|
Note
|
This function does not return. |
Parameters
Name |
Description |
violation |
details of the failed review |
Created with MrDocs