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

◆ timeout_exception_

#define timeout_exception_ (   ...)

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

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

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