xtd 0.2.0
exceptions

Definition

Exceptions definitions.

Collaboration diagram for exceptions:

Classes

class  xtd::argument_exception
 The exception that is thrown when one of the arguments provided to a method is not valid. More...
 
class  xtd::argument_null_exception
 The exception that is thrown when one of the arguments provided to a method is null. More...
 
class  xtd::argument_out_of_range_exception
 The exception that is thrown when one of the arguments provided to a method is out of range. More...
 
class  xtd::arithmetic_exception
 The exception that is thrown for errors in an arithmetic, casting, or conversion operation. More...
 
class  xtd::collections::key_not_found_exception
 The exception that is thrown when the key specified for accessing an element in a collection does not match any key in the collection. More...
 
class  xtd::divided_by_zero_exception
 The exception that is thrown when there is an attempt to divide an integral or decimal value by zero. More...
 
class  xtd::domain_exception
 The exception that is thrown for errors in domain. That is, situations where the inputs are outside of the domain on which an operation is defined.. More...
 
class  xtd::format_exception
 The exception that is thrown when the format of an argument does not meet the parameter specifications of the invoked method. More...
 
class  xtd::index_out_of_range_exception
 The exception that is thrown when an attempt is made to access an element of an array with an index that is outside the bounds of the array. More...
 
class  xtd::invalid_cast_exception
 The exception that is thrown for invalid casting or explicit conversion. More...
 
class  xtd::invalid_operation_exception
 The exception that is thrown when a method call is invalid for the object's current state. More...
 
class  xtd::invalid_program_exception
 The exception that is thrown when a program contains invalid metadata. Generally this indicates a bug in the compiler that generated the program. More...
 
class  xtd::io::directory_not_found_exception
 The exception that is thrown when part of a file or directory cannot be found. More...
 
class  xtd::io::drive_not_found_exception
 The exception that is thrown when trying to access a drive or share that is not available. More...
 
class  xtd::io::end_of_stream_exception
 The exception that is thrown when reading is attempted past the end of a stream. More...
 
class  xtd::io::file_format_exception
 The exception that is thrown when the format of an argument does not meet the parameter specifications of the invoked method. More...
 
class  xtd::io::file_load_exception
 The exception that is thrown when a managed assembly is found but cannot be loaded. More...
 
class  xtd::io::file_not_found_exception
 The exception that is thrown when an attempt to access a file that does not exist on disk fails. More...
 
class  xtd::io::io_exception
 The exception that is thrown when an I/O error occurs. More...
 
class  xtd::io::path_too_long_exception
 The exception that is thrown when a path or file name is longer than the system-defined maximum length. More...
 
class  xtd::length_exception
 The exception that is thrown when an attempts to exceed implementation defined length limits for some object. More...
 
class  xtd::net::cookie_exception
 The exception that is thrown when an error is made adding a xtd::net::cookie to a xtd::net::cookie_container. More...
 
class  xtd::net::protocol_violation_exception
 The exception that is thrown when an error is made adding a xtd::net::cookie to a xtd::net::cookie_container. More...
 
class  xtd::net::sockets::socket_exception
 The exception that is thrown when a socket error occurs. More...
 
class  xtd::net::web_exception
 The exception that is thrown when an error is made adding a xtd::net::cookie to a xtd::net::cookie_container. More...
 
class  xtd::not_finite_number_exception
 The exception that is thrown when a floating-point value is positive infinity, negative infinity, or Not-a-Number (NaN). More...
 
class  xtd::not_implemented_exception
 The exception that is thrown when a requested method or operation is not implemented. More...
 
class  xtd::not_supported_exception
 The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. More...
 
class  xtd::null_pointer_exception
 The exception that is thrown when there is an attempt to dereference a null object pointer. More...
 
class  xtd::object_closed_exception
 The exception that is thrown when one of the arguments provided to a method is not valid. More...
 
class  xtd::operation_canceled_exception
 The exception that is thrown in a thread upon cancellation of an operation that the thread was executing. More...
 
class  xtd::overflow_exception
 The exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an overflow. More...
 
class  xtd::platform_not_supported_exception
 The exception that is thrown when a feature does not run on a particular platform. More...
 
class  xtd::security::security_exception
 The exception that is thrown when an I/O error occurs. More...
 
class  xtd::system_exception
 Defines the base class for predefined exceptions in the xtd namespace. More...
 
class  xtd::time_out_exception
 The exception that is thrown when the time allotted for a process or operation has expired. More...
 
class  xtd::time_zone_not_found_exception
 The exception that is thrown when the time allotted for a process or operation has expired. More...
 
class  xtd::tunit::abort_error
 Exception thow when abort. More...
 
class  xtd::tunit::assert_error
 Exception thow when an assertion failed. More...
 
class  xtd::tunit::ignore_error
 Exception to be thrown when something is ignored. More...
 
class  xtd::unauthorized_access_exception
 The exception that is thrown when one of the arguments provided to a method is not valid. More...
 
class  xtd::underflow_exception
 The exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an underflow. More...
 
class  xtd::uri_format_exception
 The exception that is thrown when an invalid Uniform Resource Identifier (URI) is detected. More...
 
class  xtd::uri_template_match_exception
 Represents an error when matching a Uri to a UriTemplateTable. More...
 
class  xtd::xml_syntax_exception
 The exception that is thrown when there is a syntax error in XML parsing. More...
 

Macros

#define argument_exception_(...)   argument_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::argument_exception to call it with current stack frame information. More...
 
#define argument_null_exception_(...)   argument_null_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::argument_null_exception to call it with current stack frame information. More...
 
#define argument_out_of_range_exception_(...)   argument_out_of_range_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::argument_out_of_range_exception to call it with current stack frame information. More...
 
#define arithmetic_exception_(...)   arithmetic_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::arithmetic_exception to call it with current stack frame information. More...
 
#define cookie_exception_(...)   cookie_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::net::cookie_exception to call it with current stack frame information. More...
 
#define directory_not_found_exception_(...)   directory_not_found_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::io::directory_not_found_exception to call it with current stack frame information. More...
 
#define divided_by_zero_exception_(...)   divided_by_zero_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::divided_by_zero_exception to call it with current stack frame information. More...
 
#define domain_exception_(...)   domain_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::domain_exception to call it with current stack frame information. More...
 
#define drive_not_found_exception_(...)   drive_not_found_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::io::drive_not_found_exception to call it with current stack frame information. More...
 
#define end_of_stream_exception_(...)   end_of_stream_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::io::end_of_stream_exception to call it with current stack frame information. More...
 
#define file_format_exception_(...)   file_format_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::io::file_format_exception to call it with current stack frame information. More...
 
#define file_load_exception_(...)   file_load_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::io::file_load_exception to call it with current stack frame information. More...
 
#define file_not_found_exception_(...)   file_not_found_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::io::file_not_found_exception to call it with current stack frame information. More...
 
#define format_exception_(...)   format_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::format_exception to call it with current stack frame information. More...
 
#define index_out_of_range_exception_(...)   index_out_of_range_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::index_out_of_range_exception to call it with current stack frame information. More...
 
#define invalid_cast_exception_(...)   invalid_cast_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::invalid_cast_exception to call it with current stack frame information. More...
 
#define invalid_operation_exception_(...)   invalid_operation_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::invalid_operation_exception to call it with current stack frame information. More...
 
#define invalid_program_exception_(...)   invalid_program_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::invalid_program_exception to call it with current stack frame information. More...
 
#define io_exception_(...)   io_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::io::io_exception to call it with current stack frame information. More...
 
#define key_not_found_exception_(...)   key_not_found_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::collections::key_not_found_exception to call it with current stack frame information. More...
 
#define length_exception_(...)   length_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::length_exception to call it with current stack frame information. More...
 
#define not_finite_number_exception_(...)   not_finite_number_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::not_finite_number_exception to call it with current stack frame information. More...
 
#define not_implemented_exception_(...)   not_implemented_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::not_implemented_exception to call it with current stack frame information. More...
 
#define not_supported_exception_(...)   not_supported_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::not_supported_exception to call it with current stack frame information. More...
 
#define null_pointer_exception_(...)   null_pointer_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::null_pointer_exception to call it with current stack frame information. More...
 
#define object_closed_exception_(...)   object_closed_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::object_closed_exception to call it with current stack frame information. More...
 
#define operation_canceled_exception_(...)   operation_canceled_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::operation_canceled_exception to call it with current stack frame information. More...
 
#define overflow_exception_(...)   overflow_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::overflow_exception to call it with current stack frame information. More...
 
#define path_too_long_exception_(...)   path_too_long_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::io::path_too_long_exception to call it with current stack frame information. More...
 
#define platform_not_supported_exception_(...)   platform_not_supported_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::platform_not_supported_exception to call it with current stack frame information. More...
 
#define protocol_violation_exception_(...)   protocol_violation_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::net::protocol_violation_exception to call it with current stack frame information. More...
 
#define security_exception_(...)   security_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::security::security_exception to call it with current stack frame information. More...
 
#define socket_exception_(...)   socket_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::net::sockets::socket_exception to call it with current stack frame information. More...
 
#define system_exception_(...)   system_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::system_exception to call it with current stack frame information. More...
 
#define time_out_exception_(...)   time_out_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::time_out_exception to call it with current stack frame information. More...
 
#define time_zone_not_found_exception_(...)   time_zone_not_found_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::time_zone_not_found_exception to call it with current stack frame information. More...
 
#define unauthorized_access_exception_(...)   unauthorized_access_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::unauthorized_access_exception to call it with current stack frame information. More...
 
#define underflow_exception_(...)   underflow_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::underflow_exception to call it with current stack frame information. More...
 
#define uri_format_exception_(...)   uri_format_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::uri_format_exception to call it with current stack frame information. More...
 
#define uri_template_match_exception_(...)   uri_template_match_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::uri_template_match_exception to call it with current stack frame information. More...
 
#define web_exception_(...)   web_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::net::web_exception to call it with current stack frame information. More...
 
#define xml_syntax_exception_(...)   xml_syntax_exception(add_csf_(__VA_ARGS__))
 Helper on xtd::xml_syntax_exception to call it with current stack frame information. More...
 

Macro Definition Documentation

◆ argument_exception_

#define argument_exception_ (   ...)    argument_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/argument_exception.h>

Helper on xtd::argument_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::argument_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw argument_exception_(); // same as : throw argument_exception(csf_);
if (invalid_value) throw argument_exception_("Bad value"); // same as : throw argument_exception("Bad value", csf_);
...
}

◆ argument_null_exception_

#define argument_null_exception_ (   ...)    argument_null_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/argument_null_exception.h>

Helper on xtd::argument_null_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::argument_null_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw argument_null_exception_(); // same as : throw argument_null_exception(csf_);
if (invalid_value) throw argument_null_exception_("Bad value"); // same as : throw argument_null_exception("Bad value", csf_);
...
}

◆ argument_out_of_range_exception_

#define argument_out_of_range_exception_ (   ...)    argument_out_of_range_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/argument_out_of_range_exception.h>

Helper on xtd::argument_out_of_range_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::argument_out_of_range_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw argument_out_of_range_exception_(); // same as : throw argument_out_of_range_exception(csf_);
if (invalid_value) throw argument_out_of_range_exception_("Bad value"); // same as : throw argument_out_of_range_exception("Bad value", csf_);
...
}

◆ arithmetic_exception_

#define arithmetic_exception_ (   ...)    arithmetic_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/arithmetic_exception.h>

Helper on xtd::arithmetic_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::arithmetic_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw arithmetic_exception_(); // same as : throw arithmetic_exception(csf_);
if (invalid_value) throw arithmetic_exception_("Bad value"); // same as : throw arithmetic_exception("Bad value", csf_);
...
}

◆ cookie_exception_

#define cookie_exception_ (   ...)    cookie_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/net/cookie_exception.h>

Helper on xtd::net::cookie_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::net::cookie_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw cookie_exception_(); // same as : throw cookie_exception(csf_);
if (invalid_value) throw cookie_exception_("Bad value"); // same as : throw cookie_exception("Bad value", csf_);
...
}

◆ directory_not_found_exception_

#define directory_not_found_exception_ (   ...)    directory_not_found_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/io/directory_not_found_exception.h>

Helper on xtd::io::directory_not_found_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::io::directory_not_found_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw directory_not_found_exception_(); // same as : throw directory_not_found_exception(csf_);
if (invalid_value) throw directory_not_found_exception_("Bad value"); // same as : throw directory_not_found_exception("Bad value", csf_);
...
}

◆ divided_by_zero_exception_

#define divided_by_zero_exception_ (   ...)    divided_by_zero_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/divided_by_zero_exception.h>

Helper on xtd::divided_by_zero_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::divided_by_zero_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw divided_by_zero_exception_(); // same as : throw divided_by_zero_exception(csf_);
if (invalid_value) throw divided_by_zero_exception_("Bad value"); // same as : throw divided_by_zero_exception("Bad value", csf_);
...
}

◆ domain_exception_

#define domain_exception_ (   ...)    domain_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/domain_exception.h>

Helper on xtd::domain_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::domain_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw domain_exception_(); // same as : throw domain_exception(csf_);
if (invalid_value) throw domain_exception_("Bad value"); // same as : throw domain_exception("Bad value", csf_);
...
}

◆ drive_not_found_exception_

#define drive_not_found_exception_ (   ...)    drive_not_found_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/io/drive_not_found_exception.h>

Helper on xtd::io::drive_not_found_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::io::drive_not_found_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw drive_not_found_exception_(); // same as : throw drive_not_found_exception(csf_);
if (invalid_value) throw drive_not_found_exception_("Bad value"); // same as : throw drive_not_found_exception("Bad value", csf_);
...
}

◆ end_of_stream_exception_

#define end_of_stream_exception_ (   ...)    end_of_stream_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/io/end_of_stream_exception.h>

Helper on xtd::io::end_of_stream_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::io::end_of_stream_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw end_of_stream_exception_(); // same as : throw end_of_stream_exception(csf_);
if (invalid_value) throw end_of_stream_exception_("Bad value"); // same as : throw end_of_stream_exception("Bad value", csf_);
...
}

◆ file_format_exception_

#define file_format_exception_ (   ...)    file_format_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/io/file_format_exception.h>

Helper on xtd::io::file_format_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::io::file_format_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw file_format_exception_(); // same as : throw file_format_exception(csf_);
if (invalid_value) throw file_format_exception_("Bad value"); // same as : throw file_format_exception("Bad value", csf_);
...
}

◆ file_load_exception_

#define file_load_exception_ (   ...)    file_load_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/io/file_load_exception.h>

Helper on xtd::io::file_load_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::io::file_load_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw file_load_exception_(); // same as : throw file_load_exception(csf_);
if (invalid_value) throw file_load_exception_("Bad value"); // same as : throw file_load_exception("Bad value", csf_);
...
}

◆ file_not_found_exception_

#define file_not_found_exception_ (   ...)    file_not_found_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/io/file_not_found_exception.h>

Helper on xtd::io::file_not_found_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::io::file_not_found_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw file_not_found_exception_(); // same as : throw file_not_found_exception(csf_);
if (invalid_value) throw file_not_found_exception_("Bad value"); // same as : throw file_not_found_exception("Bad value", csf_);
...
}

◆ format_exception_

#define format_exception_ (   ...)    format_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/format_exception.h>

Helper on xtd::format_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::format_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw format_exception_(); // same as : throw format_exception(csf_);
if (invalid_value) throw format_exception_("Bad value"); // same as : throw format_exception("Bad value", csf_);
...
}

◆ index_out_of_range_exception_

#define index_out_of_range_exception_ (   ...)    index_out_of_range_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/index_out_of_range_exception.h>

Helper on xtd::index_out_of_range_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::index_out_of_range_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw index_out_of_range_exception_(); // same as : throw index_out_of_range_exception(csf_);
if (invalid_value) throw index_out_of_range_exception_("Bad value"); // same as : throw index_out_of_range_exception("Bad value", csf_);
...
}

◆ invalid_cast_exception_

#define invalid_cast_exception_ (   ...)    invalid_cast_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/invalid_cast_exception.h>

Helper on xtd::invalid_cast_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::invalid_cast_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw invalid_cast_exception_(); // same as : throw invalid_cast_exception(csf_);
if (invalid_value) throw invalid_cast_exception_("Bad value"); // same as : throw invalid_cast_exception("Bad value", csf_);
...
}

◆ invalid_operation_exception_

#define invalid_operation_exception_ (   ...)    invalid_operation_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/invalid_operation_exception.h>

Helper on xtd::invalid_operation_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::invalid_operation_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw invalid_operation_exception_(); // same as : throw invalid_operation_exception(csf_);
if (invalid_value) throw invalid_operation_exception_("Bad value"); // same as : throw invalid_operation_exception("Bad value", csf_);
...
}

◆ invalid_program_exception_

#define invalid_program_exception_ (   ...)    invalid_program_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/invalid_program_exception.h>

Helper on xtd::invalid_program_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::invalid_program_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw invalid_program_exception_(); // same as : throw invalid_program_exception(csf_);
if (invalid_value) throw invalid_program_exception_("Bad value"); // same as : throw invalid_program_exception("Bad value", csf_);
...
}

◆ io_exception_

#define io_exception_ (   ...)    io_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/io/io_exception.h>

Helper on xtd::io::io_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::io::io_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw io_exception_(); // same as : throw io_exception(csf_);
if (invalid_value) throw io_exception_("Bad value"); // same as : throw io_exception("Bad value", csf_);
...
}

◆ key_not_found_exception_

#define key_not_found_exception_ (   ...)    key_not_found_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/collections/key_not_found_exception.h>

Helper on xtd::collections::key_not_found_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::collections::key_not_found_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw key_not_found_exception_(); // same as : throw key_not_found_exception(csf_);
if (invalid_value) throw key_not_found_exception_("Bad value"); // same as : throw key_not_found_exception("Bad value", csf_);
...
}

◆ length_exception_

#define length_exception_ (   ...)    length_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/length_exception.h>

Helper on xtd::length_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::length_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw length_exception_(); // same as : throw length_exception(csf_);
if (invalid_value) throw length_exception_("Bad value"); // same as : throw length_exception("Bad value", csf_);
...
}

◆ not_finite_number_exception_

#define not_finite_number_exception_ (   ...)    not_finite_number_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/not_finite_number_exception.h>

Helper on xtd::not_finite_number_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::not_finite_number_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw not_finite_number_exception_(); // same as : throw not_finite_number_exception(csf_);
if (invalid_value) throw not_finite_number_exception_("Bad value"); // same as : throw not_finite_number_exception("Bad value", csf_);
...
}

◆ not_implemented_exception_

#define not_implemented_exception_ (   ...)    not_implemented_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/not_implemented_exception.h>

Helper on xtd::not_implemented_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::not_implemented_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw not_implemented_exception_(); // same as : throw not_implemented_exception(csf_);
if (invalid_value) throw not_implemented_exception_("Bad value"); // same as : throw not_implemented_exception("Bad value", csf_);
...
}

◆ not_supported_exception_

#define not_supported_exception_ (   ...)    not_supported_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/not_supported_exception.h>

Helper on xtd::not_supported_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::not_supported_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw not_supported_exception_(); // same as : throw not_supported_exception(csf_);
if (invalid_value) throw not_supported_exception_("Bad value"); // same as : throw not_supported_exception("Bad value", csf_);
...
}

◆ null_pointer_exception_

#define null_pointer_exception_ (   ...)    null_pointer_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/null_pointer_exception.h>

Helper on xtd::null_pointer_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::null_pointer_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw null_pointer_exception_(); // same as : throw null_pointer_exception(csf_);
if (invalid_value) throw null_pointer_exception_("Bad value"); // same as : throw null_pointer_exception("Bad value", csf_);
...
}

◆ object_closed_exception_

#define object_closed_exception_ (   ...)    object_closed_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/object_closed_exception.h>

Helper on xtd::object_closed_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::object_closed_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw object_closed_exception_(); // same as : throw object_closed_exception(csf_);
if (invalid_value) throw object_closed_exception_("Bad value"); // same as : throw object_closed_exception("Bad value", csf_);
...
}

◆ operation_canceled_exception_

#define operation_canceled_exception_ (   ...)    operation_canceled_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/operation_canceled_exception.h>

Helper on xtd::operation_canceled_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::operation_canceled_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw operation_canceled_exception_(); // same as : throw operation_canceled_exception(csf_);
if (invalid_value) throw operation_canceled_exception_("Bad value"); // same as : throw operation_canceled_exception("Bad value", csf_);
...
}

◆ overflow_exception_

#define overflow_exception_ (   ...)    overflow_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/overflow_exception.h>

Helper on xtd::overflow_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::overflow_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw overflow_exception_(); // same as : throw overflow_exception(csf_);
if (invalid_value) throw overflow_exception_("Bad value"); // same as : throw overflow_exception("Bad value", csf_);
...
}

◆ path_too_long_exception_

#define path_too_long_exception_ (   ...)    path_too_long_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/io/path_too_long_exception.h>

Helper on xtd::io::path_too_long_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::io::path_too_long_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw path_too_long_exception_(); // same as : throw path_too_long_exception(csf_);
if (invalid_value) throw path_too_long_exception_("Bad value"); // same as : throw path_too_long_exception("Bad value", csf_);
...
}

◆ platform_not_supported_exception_

#define platform_not_supported_exception_ (   ...)    platform_not_supported_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/platform_not_supported_exception.h>

Helper on xtd::platform_not_supported_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::platform_not_supported_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw platform_not_supported_exception_(); // same as : throw platform_not_supported_exception(csf_);
if (invalid_value) throw platform_not_supported_exception_("Bad value"); // same as : throw platform_not_supported_exception("Bad value", csf_);
...
}

◆ protocol_violation_exception_

#define protocol_violation_exception_ (   ...)    protocol_violation_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/net/protocol_violation_exception.h>

Helper on xtd::net::protocol_violation_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::net::protocol_violation_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw protocol_violation_exception_(); // same as : throw protocol_violation_exception(csf_);
if (invalid_value) throw protocol_violation_exception_("Bad value"); // same as : throw protocol_violation_exception("Bad value", csf_);
...
}

◆ security_exception_

#define security_exception_ (   ...)    security_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/security/security_exception.h>

Helper on xtd::security::security_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::security::security_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw security_exception_(); // same as : throw security_exception(csf_);
if (invalid_value) throw security_exception_("Bad value"); // same as : throw security_exception("Bad value", csf_);
...
}

◆ socket_exception_

#define socket_exception_ (   ...)    socket_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/net/sockets/socket_exception.h>

Helper on xtd::net::sockets::socket_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::net::sockets::socket_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw socket_exception_(); // same as : throw socket_exception(csf_);
if (invalid_value) throw socket_exception_("Bad value"); // same as : throw socket_exception("Bad value", csf_);
...
}

◆ system_exception_

#define system_exception_ (   ...)    system_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/system_exception.h>

Helper on xtd::system_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::system_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw system_exception_(); // same as : throw system_exception(csf_);
if (invalid_value) throw system_exception_("Bad value"); // same as : throw system_exception("Bad value", csf_);
...
}

◆ time_out_exception_

#define time_out_exception_ (   ...)    time_out_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/time_out_exception.h>

Helper on xtd::time_out_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::time_out_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw time_out_exception_(); // same as : throw time_out_exception(csf_);
if (invalid_value) throw time_out_exception_("Bad value"); // same as : throw time_out_exception("Bad value", csf_);
...
}

◆ time_zone_not_found_exception_

#define time_zone_not_found_exception_ (   ...)    time_zone_not_found_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/time_zone_not_found_exception.h>

Helper on xtd::time_zone_not_found_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::time_zone_not_found_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw time_zone_not_found_exception_(); // same as : throw time_zone_not_found_exception(csf_);
if (invalid_value) throw time_zone_not_found_exception_("Bad value"); // same as : throw time_zone_not_found_exception("Bad value", csf_);
...
}

◆ unauthorized_access_exception_

#define unauthorized_access_exception_ (   ...)    unauthorized_access_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/unauthorized_access_exception.h>

Helper on xtd::unauthorized_access_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::unauthorized_access_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw unauthorized_access_exception_(); // same as : throw unauthorized_access_exception(csf_);
if (invalid_value) throw unauthorized_access_exception_("Bad value"); // same as : throw unauthorized_access_exception("Bad value", csf_);
...
}

◆ underflow_exception_

#define underflow_exception_ (   ...)    underflow_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/underflow_exception.h>

Helper on xtd::underflow_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::underflow_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw underflow_exception_(); // same as : throw underflow_exception(csf_);
if (invalid_value) throw underflow_exception_("Bad value"); // same as : throw underflow_exception("Bad value", csf_);
...
}

◆ uri_format_exception_

#define uri_format_exception_ (   ...)    uri_format_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/uri_format_exception.h>

Helper on xtd::uri_format_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::uri_format_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw uri_format_exception_(); // same as : throw uri_format_exception(csf_);
if (invalid_value) throw uri_format_exception_("Bad value"); // same as : throw uri_format_exception("Bad value", csf_);
...
}

◆ uri_template_match_exception_

#define uri_template_match_exception_ (   ...)    uri_template_match_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/uri_template_match_exception.h>

Helper on xtd::uri_template_match_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::uri_template_match_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw uri_template_match_exception_(); // same as : throw uri_template_match_exception(csf_);
if (invalid_value) throw uri_template_match_exception_("Bad value"); // same as : throw uri_template_match_exception("Bad value", csf_);
...
}

◆ web_exception_

#define web_exception_ (   ...)    web_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/net/web_exception.h>

Helper on xtd::net::web_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::net::web_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw web_exception_(); // same as : throw web_exception(csf_);
if (invalid_value) throw web_exception_("Bad value"); // same as : throw web_exception("Bad value", csf_);
...
}

◆ xml_syntax_exception_

#define xml_syntax_exception_ (   ...)    xml_syntax_exception(add_csf_(__VA_ARGS__))

#include <xtd.core/include/xtd/xml_syntax_exception.h>

Helper on xtd::xml_syntax_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::xml_syntax_exception({any argument}, csf_)
void my_func() {
if (invalid_info) throw xml_syntax_exception_(); // same as : throw xml_syntax_exception(csf_);
if (invalid_value) throw xml_syntax_exception_("Bad value"); // same as : throw xml_syntax_exception("Bad value", csf_);
...
}