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

◆ synchronization_lock_exception_

#define synchronization_lock_exception_ (   ...)

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

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

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