STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Protected Member Functions | Protected Attributes | Static Private Member Functions | List of all members
_System_error Class Reference
Inheritance diagram for _System_error:
runtime_error system_error experimental::filesystem::v1::filesystem_error ios_base::failure

Protected Member Functions

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

Protected Attributes

error_code _Mycode
 

Static Private Member Functions

static string _Makestr (error_code _Errcode, string _Message)
 

Additional Inherited Members

- Public Member Functions inherited from runtime_error
 runtime_error (const string &_Message)
 
 runtime_error (const char *_Message)
 

Constructor & Destructor Documentation

_System_error::_System_error ( error_code  _Errcode,
const string _Message 
)
inlineprotected
522  : runtime_error(_Makestr(_Errcode, _Message)), _Mycode(_Errcode)
523  { // construct from error code and message string
524  }
runtime_error(const string &_Message)
Definition: stdexcept:161
static string _Makestr(error_code _Errcode, string _Message)
Definition: system_error:512
error_code _Mycode
Definition: system_error:526

Member Function Documentation

static string _System_error::_Makestr ( error_code  _Errcode,
string  _Message 
)
inlinestaticprivate
513  { // compose error message
514  if (!_Message.empty())
515  _Message.append(": ");
516  _Message.append(_Errcode.message());
517  return (_Message);
518  }
string message() const
Definition: system_error:278
bool empty() const _NOEXCEPT
Definition: xstring:1802
_Myt & append(_XSTD initializer_list< _Elem > _Ilist)
Definition: xstring:998

Member Data Documentation

error_code _System_error::_Mycode
protected

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