System::ExceptionWrapper class

ExceptionWrapper class

Template that represents wrapper of exceptions that are derived from Exception class.

template<typename T>class ExceptionWrapper

Methods

MethodDescription
ExceptionWrapper(std::nullptr_t)Constructs a null-instance of ExceptionWrapper class that does not represent any exception.
ExceptionWrapper(const ExceptionPtr&)Constructs a instance of ExceptionWrapper class that contains passed pointer.
ExceptionWrapper(const ExceptionWrapper&)Copy constructor.
ExceptionWrapper(ExceptionWrapper&&)Move constructor.
explicit ExceptionWrapper(Args&&…)Constructor that forwards parameters to the Exception class constructors and creates smart pointer that holds new Exception class instance.
static operator new(std::size_t)
static operator new[](std::size_t)
operator SharedPtr< Object >()Implicit cast operator to SharedPtr
operator->() constAllows to access members of the Exception object.
operator=(const ExceptionWrapper&)Assignment operator.
operator=(ExceptionWrapper&&)Move assignment operator.
static Type()Shortcut to get System::TypeInfo object for the Exception type.

Typedefs

TypedefDescription
ExceptionTypeUsed for casting functions.

See Also