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

◆ cookie_exception_

#define cookie_exception_ (   ...)

#include <xtd.core/include/xtd/net/cookie_exception.h>

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

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