5#include "../../exception.hpp"
6#include "../../ptr.hpp"
15 namespace exception_services {
63 template <
typename exception_t>
65 static_assert(std::is_base_of<xtd::exception, exception_t>::value);
72 template <
typename exception_t>
85 template <
typename exception_t>
89 std::exception_ptr exception_ptr_;
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:42
xtd::uptr< object_t > memberwise_clone() const
Creates a shallow copy of the current object.
Definition object.hpp:99
Represents an exception whose state is captured at a certain point in code.
Definition exception_dispatch_info.hpp:32
static exception_dispatch_info capture(const exception_t &source)
Creates an xtd::runtime::exception_services::exception_dispatch_info object that represents the speci...
Definition exception_dispatch_info.hpp:64
static void rethrow(const exception_t &source)
Rehrows the source exception, maintaining the original stack trace information.
Definition exception_dispatch_info.hpp:73
bool exception_captured() const noexcept
Gets a value indicating whether the exception is caught or not.
Definition exception_dispatch_info.hpp:47
xtd::ptr< xtd::exception > source_exception() const noexcept
Gets the exception that's represented by the current instance.
Definition exception_dispatch_info.hpp:52
void rethrow()
Rethrows the exception that's represented by the current xtd::runtime::exception_services::exception_...
Definition exception_dispatch_info.hpp:70
xtd::sptr< type_t > ptr
The xtd::ptr object is a shared pointer.
Definition ptr.hpp:27
@ release
Build type release.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10