The xtd::helpers::throw_helper class is used to throw an exception in the xtd framework.
- Definition
The xtd::helpers::throw_helper class is used to throw an exception in the xtd framework.
Definition throw_helper.hpp:35
- Header
#include <xtd/helpers/throw_helper>
- Namespace
- xtd
- Library
- xtd.core
|
static void | throws (xtd::helpers::exception_case exception_case, const source_location &location=source_location::current()) |
| Throws an exption with specified exception case.
|
|
static void | throws (xtd::helpers::exception_case exception_case, const char *message, const source_location &location=source_location::current()) |
| Throws an exption with specified exception case, and message.
|
|
static void | throws (xtd::helpers::exception_case exception_case, const xtd::type &type, const source_location &location=source_location::current()) |
| Throws an exption with specified exception case, and message.
|
|
static void | throws (xtd::helpers::exception_case exception_case, const xtd::net::sockets::socket_error &error, const source_location &location=source_location::current()) |
| Throws an exption with specified exception case, and message.
|
|