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

◆ file_format_exception_

#define file_format_exception_ (   ...)

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

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

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