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

◆ security_exception_

#define security_exception_ (   ...)

#include <xtd.core/include/xtd/security/security_exception.h>

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

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