96    template <
typename value_t>
 
  104    template <
typename value_t>
 
  112    template <
typename value_t>
 
  120    template <
typename value_t>
 
  128    template <
typename value_t>
 
  135    template <
typename value_t>
 
  142    template <
typename value_t>
 
  150    template <
typename value_t>
 
  157    template <
typename value_t>
 
  164    template <
typename value_t>
 
  171    template <
typename value_t>
 
  176    const char* default_message() const noexcept {
return "Specified argument is out of range of valid values."_t;}
 
Contains xtd::argument_exception exception.
 
The exception that is thrown when one of the arguments provided to a method is not valid.
Definition argument_exception.hpp:24
 
The exception that is thrown when one of the arguments provided to a method is out of range.
Definition argument_out_of_range_exception.hpp:23
 
argument_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 xtd::argument_out_of_range_exception.
Definition argument_out_of_range_exception.hpp:72
 
static void throw_if_zero(const value_t &value, const xtd::string ¶m_name=xtd::string::empty_string, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Throws an xtd::argument_out_of_range_exception if value is zero.
Definition argument_out_of_range_exception.hpp:172
 
argument_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 xtd::argument_out_of_range_exception.
Definition argument_out_of_range_exception.hpp:50
 
argument_out_of_range_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 xtd::argument_out_of_range_exception.
Definition argument_out_of_range_exception.hpp:45
 
argument_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 xtd::argument_out_of_range_exception.
Definition argument_out_of_range_exception.hpp:66
 
static void throw_if_positive_or_zero(const value_t &value, const xtd::string ¶m_name=xtd::string::empty_string, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Throws an xtd::argument_out_of_range_exception if value is positive or zero.
Definition argument_out_of_range_exception.hpp:165
 
static void throw_if_greater_than(const value_t &value, const value_t &other, const xtd::string ¶m_name=xtd::string::empty_string, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Throws an xtd::argument_out_of_range_exception if value is greater than other.
Definition argument_out_of_range_exception.hpp:121
 
static void throw_if_negative(const value_t &value, const xtd::string ¶m_name=xtd::string::empty_string, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Throws an xtd::argument_out_of_range_exception if value is negative.
Definition argument_out_of_range_exception.hpp:136
 
static void throw_if_negative_or_zero(const value_t &value, const xtd::string ¶m_name=xtd::string::empty_string, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Throws an xtd::argument_out_of_range_exception if value is negative or zero.
Definition argument_out_of_range_exception.hpp:143
 
argument_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 xtd::argument_out_of_range_exception.
Definition argument_out_of_range_exception.hpp:60
 
static void throw_if_greater_than_or_equal(const value_t &value, const value_t &other, const xtd::string ¶m_name=xtd::string::empty_string, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Throws an xtd::argument_out_of_range_exception if value is greater than or equal to other.
Definition argument_out_of_range_exception.hpp:129
 
static void throw_if_less_than(const value_t &value, const value_t &other, const xtd::string ¶m_name=xtd::string::empty_string, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Throws an xtd::argument_out_of_range_exception if value is less than other.
Definition argument_out_of_range_exception.hpp:105
 
argument_out_of_range_exception(const xtd::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class xtd::argument_out_of_range_exception.
Definition argument_out_of_range_exception.hpp:35
 
argument_out_of_range_exception(const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class xtd::argument_out_of_range_exception.
Definition argument_out_of_range_exception.hpp:31
 
argument_out_of_range_exception(const std::exception &inner_exception, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class xtd::argument_out_of_range_exception.
Definition argument_out_of_range_exception.hpp:55
 
argument_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 xtd::argument_out_of_range_exception.
Definition argument_out_of_range_exception.hpp:79
 
static void throw_if_less_than_or_equal(const value_t &value, const value_t &other, const xtd::string ¶m_name=xtd::string::empty_string, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Throws an xtd::argument_out_of_range_exception if value is less than or equal to other.
Definition argument_out_of_range_exception.hpp:113
 
static void throw_if_positive(const value_t &value, const xtd::string ¶m_name=xtd::string::empty_string, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Throws an xtd::argument_out_of_range_exception if value is positive.
Definition argument_out_of_range_exception.hpp:158
 
argument_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 xtd::argument_out_of_range_exception.
Definition argument_out_of_range_exception.hpp:40
 
static void throw_if_equal(const value_t &value, const value_t &other, const xtd::string ¶m_name=xtd::string::empty_string, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Throws an xtd::argument_out_of_range_exception if value is equal to other.
Definition argument_out_of_range_exception.hpp:97
 
static void throw_if_not_equal(const value_t &value, const value_t &other, const xtd::string ¶m_name=xtd::string::empty_string, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Throws an xtd::argument_out_of_range_exception if value is not equal to other.
Definition argument_out_of_range_exception.hpp:151
 
Represents text as a sequence of character units.
Definition basic_string.hpp:79
 
static const basic_string empty_string
Represents the empty basic_string.
Definition basic_string.hpp:124
 
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition stack_frame.hpp:47
 
static stack_frame current(const xtd::source_location &value=xtd::source_location::current()) noexcept
Crates a new xtd::diagnostics::stack_frame object corresponding to the location of the call site.
 
virtual const xtd::string & message() const noexcept
Gets message associate to the exception.
 
virtual exception_ref inner_exception() const noexcept
Gets the exception instance that caused the current exception.
 
virtual const xtd::string & help_link() const noexcept
Gets a link to the help file associated with this exception.
 
@ other
The operating system is other.
 
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10