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

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)
 

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

- Protected Attributes inherited from _System_error
error_code _Mycode
 

Constructor & Destructor Documentation

experimental::filesystem::v1::filesystem_error::filesystem_error ( const string _Message,
error_code  _Errcode = make_error_code(errc::operation_not_permitted) 
)
inlineexplicit
1605  : system_error(_Errcode, _Message)
1606  { // construct from message string and error code
1607  }
system_error(error_code _Errcode)
Definition: system_error:536
experimental::filesystem::v1::filesystem_error::filesystem_error ( const string _Message,
const path _Path1,
error_code  _Errcode 
)
inline
1612  : system_error(_Errcode, _Message),
1613  _Mypval1(_Path1)
1614  { // construct from message string and error code
1615  }
path _Mypval1
Definition: filesystem:1659
system_error(error_code _Errcode)
Definition: system_error:536
experimental::filesystem::v1::filesystem_error::filesystem_error ( const string _Message,
const path _Path1,
const path _Path2,
error_code  _Errcode 
)
inline
1621  : system_error(_Errcode, _Message),
1622  _Mypval1(_Path1), _Mypval2(_Path2)
1623  { // construct from message string and error code
1624  }
path _Mypval1
Definition: filesystem:1659
system_error(error_code _Errcode)
Definition: system_error:536
path _Mypval2
Definition: filesystem:1660
virtual __CLR_OR_THIS_CALL experimental::filesystem::v1::filesystem_error::~filesystem_error ( )
inlinevirtual
1627  { // destroy the object
1628  }
experimental::filesystem::v1::filesystem_error::filesystem_error ( filesystem_error &&  _Right)
inline
1631  : system_error(_Right.code(), _Right.what()),
1632  _Mypval1(_STD move(_Right._Mypval1)),
1633  _Mypval2(_STD move(_Right._Mypval2))
1634  { // move construct
1635  }
path _Mypval1
Definition: filesystem:1659
system_error(error_code _Errcode)
Definition: system_error:536
constexpr remove_reference< _Ty >::type && move(_Ty &&_Arg) _NOEXCEPT
Definition: type_traits:1290
path _Mypval2
Definition: filesystem:1660
constexpr const _Ty &() _Right
Definition: algorithm:3591
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.

1667  { // perform class-specific exception handling
1668  _RAISE(*this);
1669  }
#define _RAISE(x)
Definition: xstddef:70
filesystem_error& experimental::filesystem::v1::filesystem_error::operator= ( filesystem_error &&  _Right)
inline
1638  { // move assign
1639  *((system_error *)this) = *(system_error *)&_Right;
1640  _Mypval1 = _STD move(_Right._Mypval1);
1641  _Mypval2 = _STD move(_Right._Mypval2);
1642  return (*this);
1643  }
Definition: system_error:529
path _Mypval1
Definition: filesystem:1659
constexpr remove_reference< _Ty >::type && move(_Ty &&_Arg) _NOEXCEPT
Definition: type_traits:1290
path _Mypval2
Definition: filesystem:1660
constexpr const _Ty &() _Right
Definition: algorithm:3591
filesystem_error& experimental::filesystem::v1::filesystem_error::operator= ( const filesystem_error )
default
const path& experimental::filesystem::v1::filesystem_error::path1 ( ) const
inline
1646  { // return stored first path
1647  return (_Mypval1);
1648  }
path _Mypval1
Definition: filesystem:1659
const path& experimental::filesystem::v1::filesystem_error::path2 ( ) const
inline
1651  { // return stored second path
1652  return (_Mypval2);
1653  }
path _Mypval2
Definition: filesystem:1660

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: