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

◆ argument_out_of_range_exception_

#define argument_out_of_range_exception_ (   ...)

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

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

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