The exception that is thrown when one of the arguments provided to a method is out of range.
- Namespace
- xtd
- Library
- xtd.core
- Examples
- The following example demonstrates how to throw and catch an argument_out_of_range_exception.
- Examples
- application_and_exception.cpp.
|
| argument_out_of_range_exception (const std::exception &inner_exception, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_out_of_range_exception.
|
|
| argument_out_of_range_exception (const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_out_of_range_exception.
|
|
| argument_out_of_range_exception (const xtd::ustring &message, const std::error_code &error, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_out_of_range_exception.
|
|
| argument_out_of_range_exception (const xtd::ustring &message, const std::error_code &error, const xtd::ustring &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_out_of_range_exception.
|
|
| argument_out_of_range_exception (const xtd::ustring &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 argument_out_of_range_exception.
|
|
| argument_out_of_range_exception (const xtd::ustring &message, const std::exception &inner_exception, const std::error_code &error, const xtd::ustring &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_out_of_range_exception.
|
|
| argument_out_of_range_exception (const xtd::ustring &message, const std::exception &inner_exception, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_out_of_range_exception.
|
|
| argument_out_of_range_exception (const xtd::ustring &message, const std::exception &inner_exception, const xtd::ustring &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_out_of_range_exception.
|
|
| argument_out_of_range_exception (const xtd::ustring &message, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_out_of_range_exception.
|
|
| argument_out_of_range_exception (const xtd::ustring &message, const xtd::ustring &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_out_of_range_exception.
|
|
| argument_exception (const std::exception &inner_exception, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_exception.
|
|
| argument_exception (const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_exception.
|
|
| argument_exception (const xtd::ustring &message, const std::error_code &error, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_exception.
|
|
| argument_exception (const xtd::ustring &message, const std::error_code &error, const xtd::ustring &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_exception.
|
|
| argument_exception (const xtd::ustring &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 argument_exception.
|
|
| argument_exception (const xtd::ustring &message, const std::exception &inner_exception, const std::error_code &error, const xtd::ustring &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_exception.
|
|
| argument_exception (const xtd::ustring &message, const std::exception &inner_exception, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_exception.
|
|
| argument_exception (const xtd::ustring &message, const std::exception &inner_exception, const xtd::ustring &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_exception.
|
|
| argument_exception (const xtd::ustring &message, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_exception.
|
|
| argument_exception (const xtd::ustring &message, const xtd::ustring &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class argument_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::diagnostics::stack_frame &information=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class system_exception.
|
|
| system_exception (const xtd::ustring &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::ustring &message, const std::error_code &error, const xtd::ustring &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::ustring &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::ustring &message, const std::exception &inner_exception, const std::error_code &error, const xtd::ustring &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::ustring &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::ustring &message, const std::exception &inner_exception, const xtd::ustring &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::ustring &message, const xtd::diagnostics::stack_frame &information=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class system_exception.
|
|
| system_exception (const xtd::ustring &message, const xtd::ustring &help_link, const xtd::diagnostics::stack_frame &information=xtd::diagnostics::stack_frame::empty()) |
| Create a new instance of class system_exception.
|
|
virtual std::error_code | error_code () const noexcept |
| Get error associate to the exception.
|
|
virtual const xtd::ustring & | file_path () const noexcept |
| Get file path where exception occurred.
|
|
virtual const xtd::ustring & | 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 uint32_t | line_number () const noexcept |
| Get Line number where the exception occurred.
|
|
virtual const xtd::ustring & | member_name () const noexcept |
| Get file member where exception occurred.
|
|
virtual const xtd::ustring & | message () const noexcept |
| Get message associate to the exception.
|
|
virtual const xtd::ustring & | name () const noexcept |
| Get full class name the exception.
|
|
virtual xtd::ustring | stack_trace () const noexcept |
| Gets a string representation of the immediate frames on the call stack.
|
|
xtd::ustring | to_string () const noexcept override |
| Returns a string that represents the current exception.
|
|
const char * | what () const noexcept override |
| Get 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.
|
|
template<typename object_t > |
std::unique_ptr< object_t > | memberwise_clone () const |
| Gets the type of the current instance.
|
|
virtual xtd::ustring | to_string () const noexcept |
| Returns a std::string that represents the current object.
|
|