STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
nested_exception Class Reference
Inheritance diagram for nested_exception:
_With_nested< _Ty, _Uty >

Public Member Functions

 nested_exception () _NOEXCEPT
 
 nested_exception (const nested_exception &) _NOEXCEPT=default
 
nested_exceptionoperator= (const nested_exception &) _NOEXCEPT=default
 
virtual ~nested_exception () _NOEXCEPT=default
 
void rethrow_nested () const
 
exception_ptr nested_ptr () const _NOEXCEPT
 

Private Attributes

exception_ptr _Exc
 

Constructor & Destructor Documentation

nested_exception::nested_exception ( )
inline
389  { // default construct
390  }
exception_ptr _Exc
Definition: exception:410
exception_ptr current_exception() _NOEXCEPT
Definition: exception:366
nested_exception::nested_exception ( const nested_exception )
default
virtual nested_exception::~nested_exception ( )
virtualdefault

Member Function Documentation

exception_ptr nested_exception::nested_ptr ( ) const
inline
405  { // return wrapped exception_ptr
406  return (_Exc);
407  }
exception_ptr _Exc
Definition: exception:410
nested_exception& nested_exception::operator= ( const nested_exception )
default
void nested_exception::rethrow_nested ( ) const
inline
397  { // throw wrapped exception_ptr
398  if (_Exc)
400  else
401  _STD terminate();
402  }
void __CRTDECL terminate() _NOEXCEPT
Definition: exception:208
void rethrow_exception(_In_ exception_ptr _Ptr)
Definition: exception:371
exception_ptr _Exc
Definition: exception:410

Member Data Documentation

exception_ptr nested_exception::_Exc
private

The documentation for this class was generated from the following file: