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
231  : system_error(_Errcode, _Message)
232  { // construct with message
233  }
system_error(error_code _Errcode)
Definition: system_error:536
ios_base::failure::failure ( const char *  _Message,
const error_code _Errcode = make_error_code(io_errc::stream) 
)
inlineexplicit
237  : system_error(_Errcode, _Message)
238  { // construct with message
239  }
system_error(error_code _Errcode)
Definition: system_error:536

Member Function Documentation

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

Reimplemented from system_error.

247  { // report the exception
248  _RAISE(*this);
249  }
#define _RAISE(x)
Definition: xstddef:70

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