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

◆ io_exception_

#define io_exception_ (   ...)

#include <xtd.core/include/xtd/io/io_exception.h>

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

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