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

◆ thread_abort_exception_

#define thread_abort_exception_ (   ...)

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

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

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