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

◆ file_load_exception_

#define file_load_exception_ (   ...)

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

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

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