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

◆ invalid_operation_exception_

#define invalid_operation_exception_ (   ...)

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

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

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