xtd 0.2.0
Loading...
Searching...
No Matches

◆ lock_recursion_exception_

#define lock_recursion_exception_ (   ...)

#include <xtd.core/include/xtd/threading/lock_recursion_exception.h>

Helper on xtd::lock_recursion_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::lock_recursion_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw lock_recursion_exception_(); // same as : throw lock_recursion_exception {csf_};
if (invalid_value) throw lock_recursion_exception_("Bad value"); // same as : throw lock_recursion_exception {"Bad value", csf_};
...
}
#define lock_recursion_exception_(...)
Helper on xtd::lock_recursion_exception to call it with current stack frame information.
Definition lock_recursion_exception.h:110