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

◆ thread_interrupted_exception_

#define thread_interrupted_exception_ (   ...)

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

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

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