83 const char* default_message() const noexcept {
return "An access violation occured."_t;}
99#define access_violation_exception_(...) access_violation_exception(add_csf_(__VA_ARGS__))
access_violation_exception(const std::exception &inner_exception, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class access_violation_exception.
Definition access_violation_exception.h:50
access_violation_exception(const xtd::string &message, const std::exception &inner_exception, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class access_violation_exception.
Definition access_violation_exception.h:55
access_violation_exception(const xtd::string &message, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class access_violation_exception.
Definition access_violation_exception.h:30
access_violation_exception(const xtd::string &message, const std::error_code &error, const xtd::string &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class access_violation_exception.
Definition access_violation_exception.h:45
access_violation_exception(const xtd::string &message, const std::error_code &error, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class access_violation_exception.
Definition access_violation_exception.h:35
access_violation_exception(const xtd::string &message, const std::exception &inner_exception, const std::error_code &error, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class access_violation_exception.
Definition access_violation_exception.h:61
access_violation_exception(const xtd::string &message, const xtd::string &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class access_violation_exception.
Definition access_violation_exception.h:40
access_violation_exception(const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class access_violation_exception.
Definition access_violation_exception.h:26
access_violation_exception(const xtd::string &message, const std::exception &inner_exception, const xtd::string &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class access_violation_exception.
Definition access_violation_exception.h:67
access_violation_exception(const xtd::string &message, const std::exception &inner_exception, const std::error_code &error, const xtd::string &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class access_violation_exception.
Definition access_violation_exception.h:74
The exception that is thrown when a method call is invalid for the object's current state.
Definition access_violation_exception.h:18
Represents text as a sequence of character units.
Definition basic_string.h:79
static stack_frame empty() noexcept
Return an empty stack frame.
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition stack_frame.h:40
virtual const xtd::string & help_link() const noexcept
Gets a link to the help file associated with this exception.
virtual exception_ref inner_exception() const noexcept
Gets the exception instance that caused the current exception.
virtual const xtd::string & message() const noexcept
Gets message associate to the exception.
Defines the base class for predefined exceptions in the xtd namespace.
Definition system_exception.h:24
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::system_exception exception.