![]() |
boost::filesystem::filesystem_error — Exception type used to report file system errors from library functions.
// In header: <boost/filesystem/exception.hpp> class filesystem_error : public system_error { public: // public member functions filesystem_error(const char *, system::error_code); filesystem_error(std::string const &, system::error_code); filesystem_error(const char *, path const &, system::error_code); filesystem_error(std::string const &, path const &, system::error_code); filesystem_error(const char *, path const &, path const &, system::error_code); filesystem_error(std::string const &, path const &, path const &, system::error_code); filesystem_error(filesystem_error const &); filesystem_error & operator=(filesystem_error const &); ~filesystem_error() noexcept; path const & path1() const noexcept; path const & path2() const noexcept; const char * what() const noexcept; };
filesystem_error public member functionsfilesystem_error(const char * what_arg, system::error_code ec);Constructs the exception.
filesystem_error(std::string const & what_arg, system::error_code ec);Constructs the exception.
filesystem_error(const char * what_arg, path const & path1_arg, system::error_code ec);Constructs the exception.
filesystem_error(std::string const & what_arg, path const & path1_arg, system::error_code ec);Constructs the exception.
filesystem_error(const char * what_arg, path const & path1_arg, path const & path2_arg, system::error_code ec);Constructs the exception.
filesystem_error(std::string const & what_arg, path const & path1_arg, path const & path2_arg, system::error_code ec);Constructs the exception.
filesystem_error(filesystem_error const & that);Copy constructor.
Parameters: |
|
filesystem_error & operator=(filesystem_error const & that);Copy assignment operator.
Parameters: |
|
||
Returns: |
|
~filesystem_error() noexcept;Destructor.
path const & path1() const noexcept;
Returns: |
Reference to copy of |
path const & path2() const noexcept;
Returns: |
Reference to copy of |
const char * what() const noexcept;
Returns: |
A string containing |