36 template<
typename exception_t>
48 [[deprecated(
"Use xtd::index_out_of_range_exception (const xtd::string& message, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::help_link - Will be removed in version 1.2.0.")]]
54 [[deprecated(
"Use xtd::index_out_of_range_exception (const xtd::string& message, const xtd::diagnostics::stack_frame& stack_frame) and manually set the properties xtd::exception::error_code and xtd::exception::help_link - Will be removed in version 1.2.0.")]]
62 [[deprecated(
"Use xtd::index_out_of_range_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) - Will be removed in version 1.2.0.")]]
70 [[deprecated(
"Use xtd::index_out_of_range_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::error_code - Will be removed in version 1.2.0.")]]
78 [[deprecated(
"Use xtd::index_out_of_range_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::help_link - Will be removed in version 1.2.0.")]]
87 [[deprecated(
"Use xtd::index_out_of_range_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) and manually set the properties xtd::exception::error_code and xtd::exception::help_link - Will be removed in version 1.2.0.")]]
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.
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.
virtual auto error_code() const noexcept -> const std::error_code &
Gets error associate to the exception.
static constexpr auto COR_E_INDEXOUTOFRANGE
Index was outside the bounds of the array.
Definition h_result.hpp:165
static auto make_error_code(xtd::int32 h_result) noexcept -> std::error_code
Creates error code value for the specified HRESULT.
index_out_of_range_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 index_out_of_range_exception.
index_out_of_range_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 index_out_of_range_exception.
index_out_of_range_exception(const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class index_out_of_range_exception.
index_out_of_range_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 index_out_of_range_exception.
index_out_of_range_exception(const std::optional< xtd::string > &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class index_out_of_range_exception.
index_out_of_range_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 index_out_of_range_exception.
index_out_of_range_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 index_out_of_range_exception.
index_out_of_range_exception(const std::optional< xtd::string > &message, const exception_t &inner_exception, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class index_out_of_range_exception.
Definition index_out_of_range_exception.hpp:37
index_out_of_range_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 index_out_of_range_exception.
system_exception(const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class xtd::system_exception.
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
Contains xtd::h_result class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::system_exception exception.