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

◆ unauthorized_access_exception_

#define unauthorized_access_exception_ (   ...)

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

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

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