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

◆ interrupt_exception_

#define interrupt_exception_ (   ...)

#include <xtd.core/include/xtd/interrupt_exception.h>

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

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