The xtd::helpers::throw_helper class is used to throw an exception in the xtd framework.
Public Types | |
| using | source_location |
| Represents the internal source location type. | |
Static Public Member Functions | |
| static auto | throws (xtd::helpers::exception_case exception_caseexception_case, const source_location &location=source_location::current()) -> void |
| Throws an exption with specified exception case. | |
| static auto | throws (xtd::helpers::exception_case exception_caseexception_case, const char *message, const source_location &location=source_location::current()) -> void |
| Throws an exption with specified exception case, and message. | |
| static auto | throws (xtd::helpers::exception_case exception_caseexception_case, const xtd::type &typetype, const source_location &location=source_location::current()) -> void |
| Throws an exption with specified exception case, and message. | |
| static auto | throws (xtd::helpers::exception_case exception_caseexception_case, const xtd::net::sockets::socket_error &error, const source_location &location=source_location::current()) -> void |
| Throws an exption with specified exception case, and message. | |
Represents the internal source location type.
|
static |
Throws an exption with specified exception case.
| exception_case | One of xtd::helpers::exception_case values. |
|
static |
Throws an exption with specified exception case, and message.
| exception_case | One of xtd::helpers::exception_case values. |
| message | The message associate to the exception. |
|
static |
Throws an exption with specified exception case, and message.
| exception_case | The xtd::helpers::exception_case::format_not_iformatable value. |
| type | The type associate to the exception. |
|
static |
Throws an exption with specified exception case, and message.
| exception_case | The xtd::helpers::exception_case::format_not_iformatable value. |
| type | The type associate to the exception. |