[#BloombergLP-bsls-Review-setViolationHandler] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/Review.adoc[Review]::setViolationHandler :relfileprefix: ../../../ :mrdocs: Install the specified violation handler as the current review handler. == Synopsis Declared in `<bsls_review.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void setViolationHandler(xref:BloombergLP/bsls/Review/ViolationHandler-06.adoc[Review::ViolationHandler] function); ---- == Description Make the specified handler `function` the current review‐failure handler. This method has no effect if the `lockReviewAdministration` method has been called. == Parameters [cols="1,4"] |=== | Name| Description | *function* | violation handler to install |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#