87 [[nodiscard]]
auto default_message() const noexcept -> const
char* {
return "Attempt to divide by zero.";}
Contains xtd::arithmetic_exception exception.
arithmetic_exception(const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class arithmetic_exception.
Definition arithmetic_exception.hpp:30
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition stack_frame.hpp:46
static auto current(const xtd::diagnostics::source_location &value=xtd::diagnostics::source_location::current()) noexcept -> xtd::diagnostics::stack_frame
Crates a new xtd::diagnostics::stack_frame object corresponding to the location of the call site.
The exception that is thrown when there is an attempt to divide an integral or decimal value by zero.
Definition divided_by_zero_exception.hpp:22
divided_by_zero_exception(const std::exception &inner_exception, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class divided_by_zero_exception.
Definition divided_by_zero_exception.hpp:54
divided_by_zero_exception(const xtd::string &message, const std::error_code &error, const xtd::string &help_link, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class divided_by_zero_exception.
Definition divided_by_zero_exception.hpp:49
divided_by_zero_exception(const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class divided_by_zero_exception.
Definition divided_by_zero_exception.hpp:30
divided_by_zero_exception(const xtd::string &message, const std::exception &inner_exception, const std::error_code &error, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class divided_by_zero_exception.
Definition divided_by_zero_exception.hpp:65
divided_by_zero_exception(const xtd::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class divided_by_zero_exception.
Definition divided_by_zero_exception.hpp:34
divided_by_zero_exception(const xtd::string &message, const std::error_code &error, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class divided_by_zero_exception.
Definition divided_by_zero_exception.hpp:39
divided_by_zero_exception(const xtd::string &message, const xtd::string &help_link, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class divided_by_zero_exception.
Definition divided_by_zero_exception.hpp:44
divided_by_zero_exception(const xtd::string &message, const std::exception &inner_exception, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class divided_by_zero_exception.
Definition divided_by_zero_exception.hpp:59
divided_by_zero_exception(const xtd::string &message, const std::exception &inner_exception, const xtd::string &help_link, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class divided_by_zero_exception.
Definition divided_by_zero_exception.hpp:71
divided_by_zero_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 &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class divided_by_zero_exception.
Definition divided_by_zero_exception.hpp:78
virtual auto inner_exception() const noexcept -> exception_ref
Gets the exception instance that caused the current exception.
virtual auto help_link() const noexcept -> const xtd::string &
Gets a link to the help file associated with this exception.
virtual auto message() const noexcept -> const xtd::string &
Gets message associate to the exception.
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8