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

◆ uri_format_exception_

#define uri_format_exception_ (   ...)

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

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

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