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

◆ index_out_of_range_exception_

#define index_out_of_range_exception_ (   ...)

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

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

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