Set the pre throw hook for the specified exception type to the specified hook. If hook is passed 0, or if the settor was never called, that means that no pre-throw function will be called.
hook
Declared in <bslstl_stdexceptutil.h>
<bslstl_stdexceptutil.h>
static void setUnderflowErrorHook(PreThrowHook hook);