The exception that is thrown when a floating-point value is positive infinity, negative infinity, or Not-a-Number (NaN).
Additional Inherited Members | |
![]() | |
using | exception_ref = std::optional< std::reference_wrapper< const std::exception > > |
Optional reference wrapper on std::exception. | |
![]() | |
arithmetic_exception (const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) | |
Create a new instance of class arithmetic_exception. | |
arithmetic_exception (const xtd::string &message, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) | |
Create a new instance of class arithmetic_exception. | |
arithmetic_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 arithmetic_exception. | |
arithmetic_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 arithmetic_exception. | |
arithmetic_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 arithmetic_exception. | |
arithmetic_exception (const std::exception &inner_exception, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) | |
Create a new instance of class arithmetic_exception. | |
arithmetic_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 arithmetic_exception. | |
arithmetic_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 arithmetic_exception. | |
arithmetic_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 arithmetic_exception. | |
arithmetic_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 arithmetic_exception. | |
![]() | |
system_exception (const xtd::diagnostics::stack_frame &information=xtd::diagnostics::stack_frame::empty()) | |
Create a new instance of class system_exception. | |
system_exception (const xtd::string &message, const xtd::diagnostics::stack_frame &information=xtd::diagnostics::stack_frame::empty()) | |
Create a new instance of class system_exception. | |
system_exception (const xtd::string &message, const std::error_code &error, const xtd::diagnostics::stack_frame &information=xtd::diagnostics::stack_frame::empty()) | |
Create a new instance of class system_exception. | |
system_exception (const xtd::string &message, const xtd::string &help_link, const xtd::diagnostics::stack_frame &information=xtd::diagnostics::stack_frame::empty()) | |
Create a new instance of class system_exception. | |
system_exception (const xtd::string &message, const std::error_code &error, const xtd::string &help_link, const xtd::diagnostics::stack_frame &information=xtd::diagnostics::stack_frame::empty()) | |
Create a new instance of class system_exception. | |
system_exception (const std::exception &inner_exception, const xtd::diagnostics::stack_frame &information=xtd::diagnostics::stack_frame::empty()) | |
Create a new instance of class system_exception. | |
system_exception (const xtd::string &message, const std::exception &inner_exception, const xtd::diagnostics::stack_frame &information=xtd::diagnostics::stack_frame::empty()) | |
Create a new instance of class system_exception. | |
system_exception (const xtd::string &message, const std::exception &inner_exception, const std::error_code &error, const xtd::diagnostics::stack_frame &information=xtd::diagnostics::stack_frame::empty()) | |
Create a new instance of class system_exception. | |
system_exception (const xtd::string &message, const std::exception &inner_exception, const xtd::string &help_link, const xtd::diagnostics::stack_frame &information=xtd::diagnostics::stack_frame::empty()) | |
Create a new instance of class system_exception. | |
system_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 &information=xtd::diagnostics::stack_frame::empty()) | |
Create a new instance of class system_exception. | |
virtual const xtd::string & | file_path () const noexcept |
Gets file path where exception occurred. | |
virtual const xtd::string & | help_link () const noexcept |
Gets a link to the help file associated with this exception. | |
virtual std::error_code | error_code () const noexcept |
Gets error associate to the exception. | |
virtual exception_ref | inner_exception () const noexcept |
Gets the exception instance that caused the current exception. | |
virtual uint32 | line_number () const noexcept |
Gets Line number where the exception occurred. | |
virtual const xtd::string & | member_name () const noexcept |
Gets file member where exception occurred. | |
virtual const xtd::string & | message () const noexcept |
Gets message associate to the exception. | |
virtual const xtd::string & | name () const noexcept |
Gets full class name the exception. | |
virtual xtd::string | stack_trace () const noexcept |
Gets a string representation of the immediate frames on the call stack. | |
xtd::string | to_string () const noexcept override |
Returns a string that represents the current exception. | |
const char * | what () const noexcept override |
Gets message associate to the exception. | |
![]() | |
object ()=default | |
Create a new instance of the ultimate base class object. | |
virtual bool | equals (const object &obj) const noexcept |
Determines whether the specified object is equal to the current object. | |
virtual size_t | get_hash_code () const noexcept |
Serves as a hash function for a particular type. | |
virtual type_object | get_type () const noexcept |
Gets the type of the current instance. | |
template<typename object_t > | |
xtd::uptr< object_t > | memberwise_clone () const |
Creates a shallow copy of the current object. | |
![]() | |
static bool | enable_stack_trace () noexcept |
Gets if the generation of the stack trace is enabled. | |
static void | enable_stack_trace (bool enable) noexcept |
Sets if the generation of the stack trace is enabled. @paran enable triue if stack trace enabled; otherwhise false. | |
![]() | |
template<typename object_a_t , typename object_b_t > | |
static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
Determines whether the specified object instances are considered equal. | |
template<typename object_a_t , typename object_b_t > | |
static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
Determines whether the specified object instances are the same instance. | |