[#BloombergLP-bsls-Review-setViolationHandler] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/Review.adoc[Review]::setViolationHandler :relfileprefix: ../../../ :mrdocs: Make the specified handler `function` the current review‐failure handler. This method has no effect if the `lockReviewAdministration` method has been called. == 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); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#