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 exception experimental::filesystem::v1::filesystem_error ios_base::failure

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)
 
- Public Member Functions inherited from exception
__CLR_OR_THIS_CALL exception (const char *_Message="unknown", int=1) _THROW0()
 
__CLR_OR_THIS_CALL exception (const exception &_Right) _THROW0()
 
exception &__CLR_OR_THIS_CALL operator= (const exception &_Right) _THROW0()
 
virtual __CLR_OR_THIS_CALL ~exception () _NOEXCEPT
 
virtual const char *__CLR_OR_THIS_CALL what () const _THROW0()
 
void __CLR_OR_THIS_CALL _Raise () const
 

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

- Static Public Member Functions inherited from exception
static _STD _Prhand _Set_raise_handler (_STD _Prhand _Pnew)
 
- Protected Attributes inherited from _System_error
error_code _Mycode
 
- Protected Attributes inherited from exception
const char_Ptr
 

Member Typedef Documentation

Constructor & Destructor Documentation

system_error::system_error ( error_code  _Errcode)
inline
534  : _Mybase(_Errcode, "")
535  { // construct from error code
536  }
_System_error _Mybase
Definition: system_error:530
system_error::system_error ( error_code  _Errcode,
const string _Message 
)
inline
539  : _Mybase(_Errcode, _Message)
540  { // construct from error code and message string
541  }
_System_error _Mybase
Definition: system_error:530
system_error::system_error ( error_code  _Errcode,
const char _Message 
)
inline
544  : _Mybase(_Errcode, _Message)
545  { // construct from error code and message string
546  }
_System_error _Mybase
Definition: system_error:530
system_error::system_error ( int  _Errval,
const error_category _Errcat 
)
inline
549  : _Mybase(error_code(_Errval, _Errcat), "")
550  { // construct from error code components
551  }
_System_error _Mybase
Definition: system_error:530
Definition: system_error:218
system_error::system_error ( int  _Errval,
const error_category _Errcat,
const string _Message 
)
inline
555  : _Mybase(error_code(_Errval, _Errcat), _Message)
556  { // construct from error code components and message string
557  }
_System_error _Mybase
Definition: system_error:530
Definition: system_error:218
system_error::system_error ( int  _Errval,
const error_category _Errcat,
const char _Message 
)
inline
561  : _Mybase(error_code(_Errval, _Errcat), _Message)
562  { // construct from error code components and message string
563  }
_System_error _Mybase
Definition: system_error:530
Definition: system_error:218

Member Function Documentation

virtual void system_error::_Doraise ( ) const
inlineprotectedvirtual

Reimplemented from runtime_error.

Reimplemented in experimental::filesystem::v1::filesystem_error.

575  { // perform class-specific exception handling
576  _RAISE(*this);
577  }
#define _RAISE(x)
Definition: xstddef:31
const error_code& system_error::code ( ) const
inline
566  { // return stored error code
567  return (_Mycode);
568  }
error_code _Mycode
Definition: system_error:523

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