83 const char* default_message() const noexcept {
return "The system detected an invalid program."_t;}
99#define invalid_program_exception_(...) invalid_program_exception(add_csf_(__VA_ARGS__))
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
invalid_program_exception(const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class invalid_program_exception.
Definition invalid_program_exception.h:26
invalid_program_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 invalid_program_exception.
Definition invalid_program_exception.h:74
invalid_program_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 invalid_program_exception.
Definition invalid_program_exception.h:67
invalid_program_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 invalid_program_exception.
Definition invalid_program_exception.h:55
invalid_program_exception(const xtd::string &message, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class invalid_program_exception.
Definition invalid_program_exception.h:30
invalid_program_exception(const std::exception &inner_exception, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class invalid_program_exception.
Definition invalid_program_exception.h:50
invalid_program_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 invalid_program_exception.
Definition invalid_program_exception.h:40
invalid_program_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 invalid_program_exception.
Definition invalid_program_exception.h:61
invalid_program_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 invalid_program_exception.
Definition invalid_program_exception.h:45
invalid_program_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 invalid_program_exception.
Definition invalid_program_exception.h:35
The exception that is thrown when a program contains invalid metadata. Generally this indicates a bug...
Definition invalid_program_exception.h:18
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.