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

Public Member Functions

 filesystem_error (const string &_Message, error_code _Errcode=make_error_code(errc::operation_not_permitted))
 
 filesystem_error (const string &_Message, const path &_Path1, error_code _Errcode)
 
 filesystem_error (const string &_Message, const path &_Path1, const path &_Path2, error_code _Errcode)
 
virtual __CLR_OR_THIS_CALL ~filesystem_error () _NOEXCEPT
 
 filesystem_error (filesystem_error &&_Right) _NOEXCEPT
 
filesystem_erroroperator= (filesystem_error &&_Right) _NOEXCEPT
 
const pathpath1 () const _NOEXCEPT
 
const pathpath2 () const _NOEXCEPT
 
 filesystem_error (const filesystem_error &)=default
 
filesystem_erroroperator= (const filesystem_error &)=default
 
- 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
 

Protected Member Functions

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

Private Attributes

path _Mypval1
 
path _Mypval2
 

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
 

Constructor & Destructor Documentation

experimental::filesystem::v1::filesystem_error::filesystem_error ( const string _Message,
error_code  _Errcode = make_error_code(errc::operation_not_permitted) 
)
inlineexplicit
1597  : system_error(_Errcode, _Message)
1598  { // construct from message string and error code
1599  }
system_error(error_code _Errcode)
Definition: system_error:533
experimental::filesystem::v1::filesystem_error::filesystem_error ( const string _Message,
const path _Path1,
error_code  _Errcode 
)
inline
1604  : system_error(_Errcode, _Message),
1605  _Mypval1(_Path1)
1606  { // construct from message string and error code
1607  }
path _Mypval1
Definition: filesystem:1651
system_error(error_code _Errcode)
Definition: system_error:533
experimental::filesystem::v1::filesystem_error::filesystem_error ( const string _Message,
const path _Path1,
const path _Path2,
error_code  _Errcode 
)
inline
1613  : system_error(_Errcode, _Message),
1614  _Mypval1(_Path1), _Mypval2(_Path2)
1615  { // construct from message string and error code
1616  }
path _Mypval1
Definition: filesystem:1651
system_error(error_code _Errcode)
Definition: system_error:533
path _Mypval2
Definition: filesystem:1652
virtual __CLR_OR_THIS_CALL experimental::filesystem::v1::filesystem_error::~filesystem_error ( )
inlinevirtual
1619  { // destroy the object
1620  }
experimental::filesystem::v1::filesystem_error::filesystem_error ( filesystem_error &&  _Right)
inline
1623  : system_error(_Right.code(), _Right.what()),
1624  _Mypval1(_STD move(_Right._Mypval1)),
1625  _Mypval2(_STD move(_Right._Mypval2))
1626  { // move construct
1627  }
path _Mypval1
Definition: filesystem:1651
system_error(error_code _Errcode)
Definition: system_error:533
constexpr remove_reference< _Ty >::type && move(_Ty &&_Arg) _NOEXCEPT
Definition: type_traits:1349
path _Mypval2
Definition: filesystem:1652
constexpr const _Ty &() _Right
Definition: algorithm:3723
experimental::filesystem::v1::filesystem_error::filesystem_error ( const filesystem_error )
default

Member Function Documentation

virtual __CLR_OR_THIS_CALL void experimental::filesystem::v1::filesystem_error::_Doraise ( ) const
inlineprotectedvirtual

Reimplemented from system_error.

1659  { // perform class-specific exception handling
1660  _RAISE(*this);
1661  }
#define _RAISE(x)
Definition: xstddef:31
filesystem_error& experimental::filesystem::v1::filesystem_error::operator= ( filesystem_error &&  _Right)
inline
1630  { // move assign
1631  *((system_error *)this) = *(system_error *)&_Right;
1632  _Mypval1 = _STD move(_Right._Mypval1);
1633  _Mypval2 = _STD move(_Right._Mypval2);
1634  return (*this);
1635  }
Definition: system_error:526
path _Mypval1
Definition: filesystem:1651
constexpr remove_reference< _Ty >::type && move(_Ty &&_Arg) _NOEXCEPT
Definition: type_traits:1349
path _Mypval2
Definition: filesystem:1652
constexpr const _Ty &() _Right
Definition: algorithm:3723
filesystem_error& experimental::filesystem::v1::filesystem_error::operator= ( const filesystem_error )
default
const path& experimental::filesystem::v1::filesystem_error::path1 ( ) const
inline
1638  { // return stored first path
1639  return (_Mypval1);
1640  }
path _Mypval1
Definition: filesystem:1651
const path& experimental::filesystem::v1::filesystem_error::path2 ( ) const
inline
1643  { // return stored second path
1644  return (_Mypval2);
1645  }
path _Mypval2
Definition: filesystem:1652

Member Data Documentation

path experimental::filesystem::v1::filesystem_error::_Mypval1
private
path experimental::filesystem::v1::filesystem_error::_Mypval2
private

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