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 string &_Message="")
 
 future_error (error_code _Errcode, const char *_Message)
 
 future_error (int _Errval, const error_category &_Errcat, const string &_Message="")
 
 future_error (int _Errval, const error_category &_Errcat, const char *_Message)
 
const error_codecode () const _THROW0()
 
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,
const string _Message = "" 
)
inlineexplicit
139  : logic_error(_Message), _Mycode(_Errcode)
140  { // construct from error code and message string
141  }
error_code _Mycode
Definition: future:184
logic_error(const string &_Message)
Definition: stdexcept:31
future_error::future_error ( error_code  _Errcode,
const char *  _Message 
)
inline
145  : logic_error(_Message), _Mycode(_Errcode)
146  { // construct from error code and message string
147  }
error_code _Mycode
Definition: future:184
logic_error(const string &_Message)
Definition: stdexcept:31
future_error::future_error ( int  _Errval,
const error_category _Errcat,
const string _Message = "" 
)
inline
152  : logic_error(_Message), _Mycode(_Errval, _Errcat)
153  { // construct from error code components and message string
154  }
error_code _Mycode
Definition: future:184
logic_error(const string &_Message)
Definition: stdexcept:31
future_error::future_error ( int  _Errval,
const error_category _Errcat,
const char *  _Message 
)
inline
159  : logic_error(_Message), _Mycode(_Errval, _Errcat)
160  { // construct from error code components and message string
161  }
error_code _Mycode
Definition: future:184
logic_error(const string &_Message)
Definition: stdexcept:31

Member Function Documentation

virtual void future_error::_Doraise ( ) const
inlineprotectedvirtual

Reimplemented from logic_error.

178  { // perform class-specific exception handling
179  _RAISE(*this);
180  }
#define _RAISE(x)
Definition: xstddef:70
const error_code& future_error::code ( ) const
inline
164  { // return stored error code
165  return (_Mycode);
166  }
error_code _Mycode
Definition: future:184
const char* __CLR_OR_THIS_CALL future_error::what ( ) const
inline
169  { // get message string
170  return (_Future_error_map(_Mycode.value()));
171  }
error_code _Mycode
Definition: future:184
_CRTIMP2_PURE const char *__CLRCALL_PURE_OR_CDECL _Future_error_map(int) _NOEXCEPT
int value() const
Definition: system_error:240

Member Data Documentation

error_code future_error::_Mycode
private

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