basic_filesystem_error Class

A base class for all exceptions that are thrown to report a low-level system overflow.

template<class Path>
class basic_filesystem_error : public system_error;

Remarks

The value that's returned by what is constructed from the message, errcode, and two stored objects of type Path. Path can be either a basic_path or a type that's derived from basic_path.

Members

Public Typedefs

Name

Description

basic_filesystem_error::path_type

A synonym for template parameter Path.

Public Constructors

Name

Description

basic_filesystem_error::basic_filesystem_error Constructor

Constructs a basic_filesystem_error object.

Public Methods

Name

Description

basic_filesystem_error::path1 Method

Retrieves the first stored Path object.

basic_filesystem_error::path2 Method

Retrieves the second stored Path object.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

system_error Class

<filesystem>

<exception>

Other Resources

C++ Standard Library Header Files