STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Private Types | List of all members
system_error Class Reference
Inheritance diagram for system_error:
_System_error runtime_error ios_base::failure tr2::sys::basic_filesystem_error< _Path >

Public Member Functions

 system_error (error_code _Errcode)
 
 system_error (error_code _Errcode, const string &_Message)
 
 system_error (error_code _Errcode, const char *_Message)
 
 system_error (int _Errval, const error_category &_Errcat)
 
 system_error (int _Errval, const error_category &_Errcat, const string &_Message)
 
 system_error (int _Errval, const error_category &_Errcat, const char *_Message)
 
const error_codecode () const _NOEXCEPT
 
- Public Member Functions inherited from runtime_error
 runtime_error (const string &_Message)
 
 runtime_error (const char *_Message)
 

Protected Member Functions

virtual void _Doraise () const
 
- Protected Member Functions inherited from _System_error
 _System_error (error_code _Errcode, const string &_Message)
 

Private Types

typedef _System_error _Mybase
 

Additional Inherited Members

- Protected Attributes inherited from _System_error
error_code _Mycode
 

Member Typedef Documentation

Constructor & Destructor Documentation

system_error::system_error ( error_code  _Errcode)
inlineexplicit
498  : _Mybase(_Errcode, "")
499  { // construct from error code
500  }
_System_error _Mybase
Definition: system_error:494
system_error::system_error ( error_code  _Errcode,
const string _Message 
)
inline
503  : _Mybase(_Errcode, _Message)
504  { // construct from error code and message string
505  }
_System_error _Mybase
Definition: system_error:494
system_error::system_error ( error_code  _Errcode,
const char *  _Message 
)
inline
508  : _Mybase(_Errcode, _Message)
509  { // construct from error code and message string
510  }
_System_error _Mybase
Definition: system_error:494
system_error::system_error ( int  _Errval,
const error_category _Errcat 
)
inline
513  : _Mybase(error_code(_Errval, _Errcat), "")
514  { // construct from error code components
515  }
_System_error _Mybase
Definition: system_error:494
Definition: system_error:195
system_error::system_error ( int  _Errval,
const error_category _Errcat,
const string _Message 
)
inline
519  : _Mybase(error_code(_Errval, _Errcat), _Message)
520  { // construct from error code components and message string
521  }
_System_error _Mybase
Definition: system_error:494
Definition: system_error:195
system_error::system_error ( int  _Errval,
const error_category _Errcat,
const char *  _Message 
)
inline
525  : _Mybase(error_code(_Errval, _Errcat), _Message)
526  { // construct from error code components and message string
527  }
_System_error _Mybase
Definition: system_error:494
Definition: system_error:195

Member Function Documentation

virtual void system_error::_Doraise ( ) const
inlineprotectedvirtual

Reimplemented from runtime_error.

Reimplemented in tr2::sys::basic_filesystem_error< _Path >, and ios_base::failure.

539  { // perform class-specific exception handling
540  _RAISE(*this);
541  }
#define _RAISE(x)
Definition: xstddef:70
const error_code& system_error::code ( ) const
inline
530  { // return stored error code
531  return (_Mycode);
532  }
error_code _Mycode
Definition: system_error:487

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