xtd 0.2.0
Loading...
Searching...
No Matches
exceptions

Definition

Contains exceptions definitions.

Classes

class  xtd::access_violation_exception
 The exception that is thrown when a method call is invalid for the object's current state. More...
 
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::interrupt_exception
 The exception that is thrown when a method call is invalid for the object's current state. 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::out_of_memory_exception
 The exception that is thrown when one of the arguments provided to a method is not valid. 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::software_termination_exception
 The exception that is thrown when a method call is invalid for the object's current state. More...
 
class  xtd::system_exception
 Defines the base class for predefined exceptions in the xtd namespace. More...
 
class  xtd::threading::abandoned_mutex_exception
 The exception that is thrown when a Thread is in an invalid ThreadState for the method call. More...
 
class  xtd::threading::barrier_post_phase_exception
 The exception that is thrown when a Thread is in an invalid ThreadState for the method call. More...
 
class  xtd::threading::lock_recursion_exception
 The exception that is thrown when a Thread is in an invalid ThreadState for the method call. More...
 
class  xtd::threading::semaphore_full_exception
 The exception that is thrown when a method call is invalid for the object's current state. More...
 
class  xtd::threading::synchronization_lock_exception
 The exception that is thrown when a Thread is in an invalid ThreadState for the method call. More...
 
class  xtd::threading::thread_abort_exception
 The exception that is thrown when a method call is invalid for the object's current state. More...
 
class  xtd::threading::thread_interrupted_exception
 The exception that is thrown when a Thread is interrupted while it is in a waiting state. More...
 
class  xtd::threading::thread_state_exception
 The exception that is thrown when a Thread is in an invalid ThreadState for the method call. More...
 
class  xtd::threading::wait_handle_cannot_be_opened_exception
 The exception that is thrown when a Thread is in an invalid ThreadState for the method call. 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::timeout_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 abandoned_mutex_exception_(...)
 Helper on xtd::abandoned_mutex_exception to call it with current stack frame information.
 
#define access_violation_exception_(...)
 Helper on xtd::access_violation_exception to call it with current stack frame information.
 
#define argument_exception_(...)
 Helper on xtd::argument_exception to call it with current stack frame information.
 
#define argument_null_exception_(...)
 Helper on xtd::argument_null_exception to call it with current stack frame information.
 
#define argument_out_of_range_exception_(...)
 Helper on xtd::argument_out_of_range_exception to call it with current stack frame information.
 
#define arithmetic_exception_(...)
 Helper on xtd::arithmetic_exception to call it with current stack frame information.
 
#define barrier_post_phase_exception_(...)
 Helper on xtd::barrier_post_phase_exception to call it with current stack frame information.
 
#define cookie_exception_(...)
 Helper on xtd::net::cookie_exception to call it with current stack frame information.
 
#define directory_not_found_exception_(...)
 Helper on xtd::io::directory_not_found_exception to call it with current stack frame information.
 
#define divided_by_zero_exception_(...)
 Helper on xtd::divided_by_zero_exception to call it with current stack frame information.
 
#define domain_exception_(...)
 Helper on xtd::domain_exception to call it with current stack frame information.
 
#define drive_not_found_exception_(...)
 Helper on xtd::io::drive_not_found_exception to call it with current stack frame information.
 
#define end_of_stream_exception_(...)
 Helper on xtd::io::end_of_stream_exception to call it with current stack frame information.
 
#define file_format_exception_(...)
 Helper on xtd::io::file_format_exception to call it with current stack frame information.
 
#define file_load_exception_(...)
 Helper on xtd::io::file_load_exception to call it with current stack frame information.
 
#define file_not_found_exception_(...)
 Helper on xtd::io::file_not_found_exception to call it with current stack frame information.
 
#define format_exception_(...)
 Helper on xtd::format_exception to call it with current stack frame information.
 
#define index_out_of_range_exception_(...)
 Helper on xtd::index_out_of_range_exception to call it with current stack frame information.
 
#define interrupt_exception_(...)
 Helper on xtd::interrupt_exception to call it with current stack frame information.
 
#define invalid_cast_exception_(...)
 Helper on xtd::invalid_cast_exception to call it with current stack frame information.
 
#define invalid_operation_exception_(...)
 Helper on xtd::invalid_operation_exception to call it with current stack frame information.
 
#define invalid_program_exception_(...)
 Helper on xtd::invalid_program_exception to call it with current stack frame information.
 
#define io_exception_(...)
 Helper on xtd::io::io_exception to call it with current stack frame information.
 
#define key_not_found_exception_(...)
 Helper on xtd::collections::key_not_found_exception to call it with current stack frame information.
 
#define length_exception_(...)
 Helper on xtd::length_exception to call it with current stack frame information.
 
#define lock_recursion_exception_(...)
 Helper on xtd::lock_recursion_exception to call it with current stack frame information.
 
#define not_finite_number_exception_(...)
 Helper on xtd::not_finite_number_exception to call it with current stack frame information.
 
#define not_implemented_exception_(...)
 Helper on xtd::not_implemented_exception to call it with current stack frame information.
 
#define not_supported_exception_(...)
 Helper on xtd::not_supported_exception to call it with current stack frame information.
 
#define null_pointer_exception_(...)
 Helper on xtd::null_pointer_exception to call it with current stack frame information.
 
#define object_closed_exception_(...)
 Helper on xtd::object_closed_exception to call it with current stack frame information.
 
#define operation_canceled_exception_(...)
 Helper on xtd::operation_canceled_exception to call it with current stack frame information.
 
#define out_of_memory_exception_(...)
 Helper on xtd::out_of_memory_exception to call it with current stack frame information.
 
#define overflow_exception_(...)
 Helper on xtd::overflow_exception to call it with current stack frame information.
 
#define path_too_long_exception_(...)
 Helper on xtd::io::path_too_long_exception to call it with current stack frame information.
 
#define platform_not_supported_exception_(...)
 Helper on xtd::platform_not_supported_exception to call it with current stack frame information.
 
#define protocol_violation_exception_(...)
 Helper on xtd::net::protocol_violation_exception to call it with current stack frame information.
 
#define security_exception_(...)
 Helper on xtd::security::security_exception to call it with current stack frame information.
 
#define semaphore_full_exception_(...)
 Helper on xtd::semaphore_full_exception to call it with current stack frame information.
 
#define socket_exception_(...)
 Helper on xtd::net::sockets::socket_exception to call it with current stack frame information.
 
#define software_termination_exception_(...)
 Helper on xtd::software_termination_exception to call it with current stack frame information.
 
#define synchronization_lock_exception_(...)
 Helper on xtd::synchronization_lock_exception to call it with current stack frame information.
 
#define system_exception_(...)
 Helper on xtd::system_exception to call it with current stack frame information.
 
#define thread_abort_exception_(...)
 Helper on xtd::thread_abort_exception to call it with current stack frame information.
 
#define thread_interrupted_exception_(...)
 Helper on xtd::thread_interrupted_exception to call it with current stack frame information.
 
#define thread_state_exception_(...)
 Helper on xtd::thread_state_exception to call it with current stack frame information.
 
#define time_zone_not_found_exception_(...)
 Helper on xtd::time_zone_not_found_exception to call it with current stack frame information.
 
#define timeout_exception_(...)
 Helper on xtd::timeout_exception to call it with current stack frame information.
 
#define unauthorized_access_exception_(...)
 Helper on xtd::unauthorized_access_exception to call it with current stack frame information.
 
#define underflow_exception_(...)
 Helper on xtd::underflow_exception to call it with current stack frame information.
 
#define uri_format_exception_(...)
 Helper on xtd::uri_format_exception to call it with current stack frame information.
 
#define uri_template_match_exception_(...)
 Helper on xtd::uri_template_match_exception to call it with current stack frame information.
 
#define wait_handle_cannot_be_opened_exception_(...)
 Helper on xtd::wait_handle_cannot_be_opened_exception to call it with current stack frame information.
 
#define web_exception_(...)
 Helper on xtd::net::web_exception to call it with current stack frame information.
 
#define xml_syntax_exception_(...)
 Helper on xtd::xml_syntax_exception to call it with current stack frame information.
 

Macro Definition Documentation

◆ abandoned_mutex_exception_

#define abandoned_mutex_exception_ (   ...)

#include <xtd.core/include/xtd/threading/abandoned_mutex_exception.h>

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

Library
xtd.core
Remarks
Is equivalent to xtd::abandoned_mutex_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw abandoned_mutex_exception_(); // same as : throw abandoned_mutex_exception {csf_};
if (invalid_value) throw abandoned_mutex_exception_("Bad value"); // same as : throw abandoned_mutex_exception {"Bad value", csf_};
...
}
#define abandoned_mutex_exception_(...)
Helper on xtd::abandoned_mutex_exception to call it with current stack frame information.
Definition abandoned_mutex_exception.h:107

◆ access_violation_exception_

#define access_violation_exception_ (   ...)

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

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

Library
xtd.core
Remarks
Is equivalent to xtd::access_violation_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw access_violation_exception_(); // same as : throw access_violation_exception {csf_};
if (invalid_value) throw access_violation_exception_("Bad value"); // same as : throw access_violation_exception {"Bad value", csf_};
...
}
#define access_violation_exception_(...)
Helper on xtd::access_violation_exception to call it with current stack frame information.
Definition access_violation_exception.h:99

◆ argument_exception_

#define argument_exception_ (   ...)

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

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

Header
#include <xtd/argument_exception>
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_};
...
}
#define argument_exception_(...)
Helper on xtd::argument_exception to call it with current stack frame information.
Definition argument_exception.h:104

◆ argument_null_exception_

#define argument_null_exception_ (   ...)

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

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

Header
#include <xtd/argument_null_exception>
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_};
...
}
#define argument_null_exception_(...)
Helper on xtd::argument_null_exception to call it with current stack frame information.
Definition argument_null_exception.h:103

◆ argument_out_of_range_exception_

#define argument_out_of_range_exception_ (   ...)

#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.

Header
#include <xtd/argument_out_of_range_exception>
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_};
...
}
#define argument_out_of_range_exception_(...)
Helper on xtd::argument_out_of_range_exception to call it with current stack frame information.
Definition argument_out_of_range_exception.h:103

◆ arithmetic_exception_

#define arithmetic_exception_ (   ...)

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

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

Header
#include <xtd/arithmetic_exception>
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_};
...
}
#define arithmetic_exception_(...)
Helper on xtd::arithmetic_exception to call it with current stack frame information.
Definition arithmetic_exception.h:103

◆ barrier_post_phase_exception_

#define barrier_post_phase_exception_ (   ...)

#include <xtd.core/include/xtd/threading/barrier_post_phase_exception.h>

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

Library
xtd.core
Remarks
Is equivalent to xtd::barrier_post_phase_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw barrier_post_phase_exception_(); // same as : throw barrier_post_phase_exception {csf_};
if (invalid_value) throw barrier_post_phase_exception_("Bad value"); // same as : throw barrier_post_phase_exception {"Bad value", csf_};
...
}
#define barrier_post_phase_exception_(...)
Helper on xtd::barrier_post_phase_exception to call it with current stack frame information.
Definition barrier_post_phase_exception.h:107

◆ cookie_exception_

#define cookie_exception_ (   ...)

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

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

Header
#include <xtd/net/cookie_exception>
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_};
...
}
#define cookie_exception_(...)
Helper on xtd::net::cookie_exception to call it with current stack frame information.
Definition cookie_exception.h:106

◆ directory_not_found_exception_

#define directory_not_found_exception_ (   ...)

#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.

Header
#include <xtd/io/directory_not_found_exception>
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_};
...
}
#define directory_not_found_exception_(...)
Helper on xtd::io::directory_not_found_exception to call it with current stack frame information.
Definition directory_not_found_exception.h:110

◆ divided_by_zero_exception_

#define divided_by_zero_exception_ (   ...)

#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.

Header
#include <xtd/divided_by_zero_exception>
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_};
...
}
#define divided_by_zero_exception_(...)
Helper on xtd::divided_by_zero_exception to call it with current stack frame information.
Definition divided_by_zero_exception.h:103

◆ domain_exception_

#define domain_exception_ (   ...)

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

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

Header
#include <xtd/domain_exception>
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_};
...
}
#define domain_exception_(...)
Helper on xtd::domain_exception to call it with current stack frame information.
Definition domain_exception.h:103

◆ drive_not_found_exception_

#define drive_not_found_exception_ (   ...)

#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.

Header
#include <xtd/io/drive_not_found_exception>
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_};
...
}
#define drive_not_found_exception_(...)
Helper on xtd::io::drive_not_found_exception to call it with current stack frame information.
Definition drive_not_found_exception.h:111

◆ end_of_stream_exception_

#define end_of_stream_exception_ (   ...)

#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.

Header
#include <xtd/io/end_of_stream_exception>
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_};
...
}
#define end_of_stream_exception_(...)
Helper on xtd::io::end_of_stream_exception to call it with current stack frame information.
Definition end_of_stream_exception.h:111

◆ file_format_exception_

#define file_format_exception_ (   ...)

#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.

Header
#include <xtd/io/file_format_exception>
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_};
...
}
#define file_format_exception_(...)
Helper on xtd::io::file_format_exception to call it with current stack frame information.
Definition file_format_exception.h:111

◆ file_load_exception_

#define file_load_exception_ (   ...)

#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.

Header
#include <xtd/io/file_load_exception>
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_};
...
}
#define file_load_exception_(...)
Helper on xtd::io::file_load_exception to call it with current stack frame information.
Definition file_load_exception.h:111

◆ file_not_found_exception_

#define file_not_found_exception_ (   ...)

#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.

Header
#include <xtd/io/file_not_found_exception>
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_};
...
}
#define file_not_found_exception_(...)
Helper on xtd::io::file_not_found_exception to call it with current stack frame information.
Definition file_not_found_exception.h:110

◆ format_exception_

#define format_exception_ (   ...)

#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_};
...
}
#define format_exception_(...)
Helper on xtd::format_exception to call it with current stack frame information.
Definition format_exception.h:99

◆ index_out_of_range_exception_

#define index_out_of_range_exception_ (   ...)

#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_};
...
}
#define index_out_of_range_exception_(...)
Helper on xtd::index_out_of_range_exception to call it with current stack frame information.
Definition index_out_of_range_exception.h:99

◆ interrupt_exception_

#define interrupt_exception_ (   ...)

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

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

Library
xtd.core
Remarks
Is equivalent to xtd::interrupt_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw interrupt_exception_(); // same as : throw interrupt_exception {csf_};
if (invalid_value) throw interrupt_exception_("Bad value"); // same as : throw interrupt_exception {"Bad value", csf_};
...
}
#define interrupt_exception_(...)
Helper on xtd::interrupt_exception to call it with current stack frame information.
Definition interrupt_exception.h:99

◆ invalid_cast_exception_

#define invalid_cast_exception_ (   ...)

#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_};
...
}
#define invalid_cast_exception_(...)
Helper on xtd::invalid_cast_exception to call it with current stack frame information.
Definition invalid_cast_exception.h:99

◆ invalid_operation_exception_

#define invalid_operation_exception_ (   ...)

#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_};
...
}
#define invalid_operation_exception_(...)
Helper on xtd::invalid_operation_exception to call it with current stack frame information.
Definition invalid_operation_exception.h:99

◆ invalid_program_exception_

#define invalid_program_exception_ (   ...)

#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_};
...
}
#define invalid_program_exception_(...)
Helper on xtd::invalid_program_exception to call it with current stack frame information.
Definition invalid_program_exception.h:99

◆ io_exception_

#define io_exception_ (   ...)

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

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

Header
#include <xtd/io/io_exception>
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_};
...
}
#define io_exception_(...)
Helper on xtd::io::io_exception to call it with current stack frame information.
Definition io_exception.h:110

◆ key_not_found_exception_

#define key_not_found_exception_ (   ...)

#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.

Header
#include <xtd/collections/key_not_found_exception>
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_};
...
}
#define key_not_found_exception_(...)
Helper on xtd::collections::key_not_found_exception to call it with current stack frame information.
Definition key_not_found_exception.h:110

◆ length_exception_

#define length_exception_ (   ...)

#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_};
...
}
#define length_exception_(...)
Helper on xtd::length_exception to call it with current stack frame information.
Definition length_exception.h:99

◆ lock_recursion_exception_

#define lock_recursion_exception_ (   ...)

#include <xtd.core/include/xtd/threading/lock_recursion_exception.h>

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

Library
xtd.core
Remarks
Is equivalent to xtd::lock_recursion_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw lock_recursion_exception_(); // same as : throw lock_recursion_exception {csf_};
if (invalid_value) throw lock_recursion_exception_("Bad value"); // same as : throw lock_recursion_exception {"Bad value", csf_};
...
}
#define lock_recursion_exception_(...)
Helper on xtd::lock_recursion_exception to call it with current stack frame information.
Definition lock_recursion_exception.h:108

◆ not_finite_number_exception_

#define not_finite_number_exception_ (   ...)

#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_};
...
}
#define not_finite_number_exception_(...)
Helper on xtd::not_finite_number_exception to call it with current stack frame information.
Definition not_finite_number_exception.h:99

◆ not_implemented_exception_

#define not_implemented_exception_ (   ...)

#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_};
...
}
#define not_implemented_exception_(...)
Helper on xtd::not_implemented_exception to call it with current stack frame information.
Definition not_implemented_exception.h:99

◆ not_supported_exception_

#define not_supported_exception_ (   ...)

#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_};
...
}
#define not_supported_exception_(...)
Helper on xtd::not_supported_exception to call it with current stack frame information.
Definition not_supported_exception.h:99

◆ null_pointer_exception_

#define null_pointer_exception_ (   ...)

#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_};
...
}
#define null_pointer_exception_(...)
Helper on xtd::null_pointer_exception to call it with current stack frame information.
Definition null_pointer_exception.h:99

◆ object_closed_exception_

#define object_closed_exception_ (   ...)

#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_};
...
}
#define object_closed_exception_(...)
Helper on xtd::object_closed_exception to call it with current stack frame information.
Definition object_closed_exception.h:99

◆ operation_canceled_exception_

#define operation_canceled_exception_ (   ...)

#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_};
...
}
#define operation_canceled_exception_(...)
Helper on xtd::operation_canceled_exception to call it with current stack frame information.
Definition operation_canceled_exception.h:99

◆ out_of_memory_exception_

#define out_of_memory_exception_ (   ...)

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

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

Header
#include <xtd/out_of_memory_exception>
Library
xtd.core
Remarks
Is equivalent to xtd::out_of_memory_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw out_of_memory_exception_(); // same as : throw out_of_memory_exception {csf_};
if (invalid_value) throw out_of_memory_exception_("Bad value"); // same as : throw out_of_memory_exception {"Bad value", csf_};
...
}
#define out_of_memory_exception_(...)
Helper on xtd::out_of_memory_exception to call it with current stack frame information.
Definition out_of_memory_exception.h:104

◆ overflow_exception_

#define overflow_exception_ (   ...)

#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_};
...
}
#define overflow_exception_(...)
Helper on xtd::overflow_exception to call it with current stack frame information.
Definition overflow_exception.h:99

◆ path_too_long_exception_

#define path_too_long_exception_ (   ...)

#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.

Header
#include <xtd/io/path_too_long_exception>
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_};
...
}
#define path_too_long_exception_(...)
Helper on xtd::io::path_too_long_exception to call it with current stack frame information.
Definition path_too_long_exception.h:110

◆ platform_not_supported_exception_

#define platform_not_supported_exception_ (   ...)

#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_};
...
}
#define platform_not_supported_exception_(...)
Helper on xtd::platform_not_supported_exception to call it with current stack frame information.
Definition platform_not_supported_exception.h:99

◆ protocol_violation_exception_

#define protocol_violation_exception_ (   ...)

#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.

Header
#include <xtd/net/protocol_violation_exception>
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_};
...
}
#define protocol_violation_exception_(...)
Helper on xtd::net::protocol_violation_exception to call it with current stack frame information.
Definition protocol_violation_exception.h:106

◆ security_exception_

#define security_exception_ (   ...)

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

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

Header
#include <xtd/security/security_exception>
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_};
...
}
#define security_exception_(...)
Helper on xtd::security::security_exception to call it with current stack frame information.
Definition security_exception.h:106

◆ semaphore_full_exception_

#define semaphore_full_exception_ (   ...)

#include <xtd.core/include/xtd/threading/semaphore_full_exception.h>

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

Library
xtd.core
Remarks
Is equivalent to xtd::semaphore_full_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw semaphore_full_exception_(); // same as : throw semaphore_full_exception {csf_};
if (invalid_value) throw semaphore_full_exception_("Bad value"); // same as : throw semaphore_full_exception {"Bad value", csf_};
...
}
#define semaphore_full_exception_(...)
Helper on xtd::semaphore_full_exception to call it with current stack frame information.
Definition semaphore_full_exception.h:107

◆ socket_exception_

#define socket_exception_ (   ...)

#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.

Header
#include <xtd/net/sockets/socket_exception>
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_};
...
}
#define socket_exception_(...)
Helper on xtd::net::sockets::socket_exception to call it with current stack frame information.
Definition socket_exception.h:119

◆ software_termination_exception_

#define software_termination_exception_ (   ...)

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

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

Library
xtd.core
Remarks
Is equivalent to xtd::software_termination_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw software_termination_exception_(); // same as : throw software_termination_exception {csf_};
if (invalid_value) throw software_termination_exception_("Bad value"); // same as : throw software_termination_exception {"Bad value", csf_};
...
}
#define software_termination_exception_(...)
Helper on xtd::software_termination_exception to call it with current stack frame information.
Definition software_termination_exception.h:99

◆ synchronization_lock_exception_

#define synchronization_lock_exception_ (   ...)

#include <xtd.core/include/xtd/threading/synchronization_lock_exception.h>

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

Library
xtd.core
Remarks
Is equivalent to xtd::synchronization_lock_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw synchronization_lock_exception_(); // same as : throw synchronization_lock_exception {csf_};
if (invalid_value) throw synchronization_lock_exception_("Bad value"); // same as : throw synchronization_lock_exception {"Bad value", csf_};
...
}
#define synchronization_lock_exception_(...)
Helper on xtd::synchronization_lock_exception to call it with current stack frame information.
Definition synchronization_lock_exception.h:108

◆ system_exception_

#define system_exception_ (   ...)

#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_};
...
}
#define system_exception_(...)
Helper on xtd::system_exception to call it with current stack frame information.
Definition system_exception.h:188

◆ thread_abort_exception_

#define thread_abort_exception_ (   ...)

#include <xtd.core/include/xtd/threading/thread_abort_exception.h>

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

Library
xtd.core
Remarks
Is equivalent to xtd::thread_abort_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw thread_abort_exception_(); // same as : throw thread_abort_exception {csf_};
if (invalid_value) throw thread_abort_exception_("Bad value"); // same as : throw thread_abort_exception {"Bad value", csf_};
...
}
#define thread_abort_exception_(...)
Helper on xtd::thread_abort_exception to call it with current stack frame information.
Definition thread_abort_exception.h:107

◆ thread_interrupted_exception_

#define thread_interrupted_exception_ (   ...)

#include <xtd.core/include/xtd/threading/thread_interrupted_exception.h>

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

Library
xtd.core
Remarks
Is equivalent to xtd::thread_interrupted_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw thread_interrupted_exception_(); // same as : throw thread_interrupted_exception {csf_};
if (invalid_value) throw thread_interrupted_exception_("Bad value"); // same as : throw thread_interrupted_exception {"Bad value", csf_};
...
}
#define thread_interrupted_exception_(...)
Helper on xtd::thread_interrupted_exception to call it with current stack frame information.
Definition thread_interrupted_exception.h:104

◆ thread_state_exception_

#define thread_state_exception_ (   ...)

#include <xtd.core/include/xtd/threading/thread_state_exception.h>

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

Library
xtd.core
Remarks
Is equivalent to xtd::thread_state_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw thread_state_exception_(); // same as : throw thread_state_exception {csf_};
if (invalid_value) throw thread_state_exception_("Bad value"); // same as : throw thread_state_exception {"Bad value", csf_};
...
}
#define thread_state_exception_(...)
Helper on xtd::thread_state_exception to call it with current stack frame information.
Definition thread_state_exception.h:107

◆ time_zone_not_found_exception_

#define time_zone_not_found_exception_ (   ...)

#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_};
...
}
#define time_zone_not_found_exception_(...)
Helper on xtd::time_zone_not_found_exception to call it with current stack frame information.
Definition time_zone_not_found_exception.h:99

◆ timeout_exception_

#define timeout_exception_ (   ...)

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

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

Library
xtd.core
Remarks
Is equivalent to xtd::timeout_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw timeout_exception_(); // same as : throw timeout_exception {csf_};
if (invalid_value) throw timeout_exception_("Bad value"); // same as : throw timeout_exception {"Bad value", csf_};
...
}
#define timeout_exception_(...)
Helper on xtd::timeout_exception to call it with current stack frame information.
Definition timeout_exception.h:99

◆ unauthorized_access_exception_

#define unauthorized_access_exception_ (   ...)

#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_};
...
}
#define unauthorized_access_exception_(...)
Helper on xtd::unauthorized_access_exception to call it with current stack frame information.
Definition unauthorized_access_exception.h:100

◆ underflow_exception_

#define underflow_exception_ (   ...)

#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_};
...
}
#define underflow_exception_(...)
Helper on xtd::underflow_exception to call it with current stack frame information.
Definition underflow_exception.h:99

◆ uri_format_exception_

#define uri_format_exception_ (   ...)

#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_};
...
}
#define uri_format_exception_(...)
Helper on xtd::uri_format_exception to call it with current stack frame information.
Definition uri_format_exception.h:95

◆ uri_template_match_exception_

#define uri_template_match_exception_ (   ...)

#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_};
...
}
#define uri_template_match_exception_(...)
Helper on xtd::uri_template_match_exception to call it with current stack frame information.
Definition uri_template_match_exception.h:95

◆ wait_handle_cannot_be_opened_exception_

#define wait_handle_cannot_be_opened_exception_ (   ...)

#include <xtd.core/include/xtd/threading/wait_handle_cannot_be_opened_exception.h>

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

Library
xtd.core
Remarks
Is equivalent to xtd::wait_handle_cannot_be_opened_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw wait_handle_cannot_be_opened_exception_(); // same as : throw wait_handle_cannot_be_opened_exception {csf_};
if (invalid_value) throw wait_handle_cannot_be_opened_exception_("Bad value"); // same as : throw wait_handle_cannot_be_opened_exception {"Bad value", csf_};
...
}
#define wait_handle_cannot_be_opened_exception_(...)
Helper on xtd::wait_handle_cannot_be_opened_exception to call it with current stack frame information...
Definition wait_handle_cannot_be_opened_exception.h:107

◆ web_exception_

#define web_exception_ (   ...)

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

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

Header
#include <xtd/net/web_exception>
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_};
...
}
#define web_exception_(...)
Helper on xtd::net::web_exception to call it with current stack frame information.
Definition web_exception.h:106

◆ xml_syntax_exception_

#define xml_syntax_exception_ (   ...)

#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_};
...
}
#define xml_syntax_exception_(...)
Helper on xtd::xml_syntax_exception to call it with current stack frame information.
Definition xml_syntax_exception.h:100