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

Public Member Functions

 failure (const string &_Message, const error_code &_Errcode=make_error_code(io_errc::stream))
 
 failure (const char *_Message, const error_code &_Errcode=make_error_code(io_errc::stream))
 
- Public Member Functions inherited from system_error
 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)
 

Additional Inherited Members

- Protected Attributes inherited from _System_error
error_code _Mycode
 

Constructor & Destructor Documentation

ios_base::failure::failure ( const string _Message,
const error_code _Errcode = make_error_code(io_errc::stream) 
)
inlineexplicit
226  : system_error(_Errcode, _Message)
227  { // construct with message
228  }
system_error(error_code _Errcode)
Definition: system_error:497
ios_base::failure::failure ( const char *  _Message,
const error_code _Errcode = make_error_code(io_errc::stream) 
)
inlineexplicit
232  : system_error(_Errcode, _Message)
233  { // construct with message
234  }
system_error(error_code _Errcode)
Definition: system_error:497

Member Function Documentation

virtual void ios_base::failure::_Doraise ( ) const
inlineprotectedvirtual

Reimplemented from system_error.

242  { // report the exception
243  _RAISE(*this);
244  }
#define _RAISE(x)
Definition: xstddef:70

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