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

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)
 
- 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
 

Additional Inherited Members

- Static Public Member Functions inherited from exception
static _STD _Prhand _Set_raise_handler (_STD _Prhand _Pnew)
 
- Protected Member Functions inherited from system_error
virtual void _Doraise () const
 
- Protected Member Functions inherited from _System_error
 _System_error (error_code _Errcode, const string &_Message)
 
- Protected Attributes inherited from _System_error
error_code _Mycode
 
- Protected Attributes inherited from exception
const char_Ptr
 

Constructor & Destructor Documentation

ios_base::failure::failure ( const string _Message,
const error_code _Errcode = make_error_code(io_errc::stream) 
)
inlineexplicit
230  : system_error(_Errcode, _Message)
231  { // construct with message
232  }
system_error(error_code _Errcode)
Definition: system_error:533
ios_base::failure::failure ( const char _Message,
const error_code _Errcode = make_error_code(io_errc::stream) 
)
inlineexplicit
236  : system_error(_Errcode, _Message)
237  { // construct with message
238  }
system_error(error_code _Errcode)
Definition: system_error:533

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