[#BloombergLP-bslstl-StdExceptUtil-PreThrowHook] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/StdExceptUtil.adoc[StdExceptUtil]::PreThrowHook :relfileprefix: ../../../ :mrdocs: This is the type of function pointer that can be set. One such static function pointer exists for each exception type supported by this component. Functions called to throw exceptions examine their respective pointer, and if it's non‐null, call it and then throw after it returns. Note that it is recommended that the hook function log a greppable statement such as "About to throw <exceptionName>". == Synopsis Declared in `<bslstl_stdexceptutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- typedef void(* PreThrowHook)(char const*, char const*); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#