STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
future_error Class Reference
Inheritance diagram for future_error:
logic_error

Public Member Functions

 future_error (error_code _Errcode)
 
const error_codecode () const _NOEXCEPT
 
const char *__CLR_OR_THIS_CALL what () const _THROW0()
 
- Public Member Functions inherited from logic_error
 logic_error (const string &_Message)
 
 logic_error (const char *_Message)
 

Protected Member Functions

virtual void _Doraise () const
 

Private Attributes

error_code _Mycode
 

Constructor & Destructor Documentation

future_error::future_error ( error_code  _Errcode)
inlineexplicit
157  : logic_error(""), _Mycode(_Errcode)
158  { // construct from error code
159  }
error_code _Mycode
Definition: future:182
logic_error(const string &_Message)
Definition: stdexcept:21

Member Function Documentation

virtual void future_error::_Doraise ( ) const
inlineprotectedvirtual

Reimplemented from logic_error.

176  { // perform class-specific exception handling
177  _RAISE(*this);
178  }
#define _RAISE(x)
Definition: xstddef:70
const error_code& future_error::code ( ) const
inline
162  { // return stored error code
163  return (_Mycode);
164  }
error_code _Mycode
Definition: future:182
const char* __CLR_OR_THIS_CALL future_error::what ( ) const
inline
167  { // get message string
168  return (_Future_error_map(_Mycode.value()));
169  }
int value() const _NOEXCEPT
Definition: system_error:266
error_code _Mycode
Definition: future:182
const char * _Future_error_map(int _Errcode) _NOEXCEPT
Definition: future:131

Member Data Documentation

error_code future_error::_Mycode
private

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