StormByte C++ Library: Multimedia module 0.0.9999
StormByte-Multimedia is a StormByte library module for parsing configuration files
Loading...
Searching...
No Matches
Public Member Functions | List of all members
StormByte::Multimedia::FilePathOpenException Class Reference

Thrown when File::Open fails on a filesystem path. More...

#include <StormByte/multimedia/exception.hxx>

Inheritance diagram for StormByte::Multimedia::FilePathOpenException:
Inheritance graph
[legend]
Collaboration diagram for StormByte::Multimedia::FilePathOpenException:
Collaboration graph
[legend]

Public Member Functions

 FilePathOpenException (const std::string &path, const std::string &reason)
 Constructs the exception for path.
 
- Public Member Functions inherited from StormByte::Multimedia::FileOpenException
 FileOpenException (const std::string &message)
 Constructs the exception with a finished message.
 
- Public Member Functions inherited from StormByte::Multimedia::Exception
template<typename... Args>
 Exception (const std::string &component, std::format_string< Args... > fmt, Args &&... args)
 Constructs a formatted Multimedia exception.
 
 Exception (const Exception &)=default
 Copy constructor.
 
 Exception (Exception &&) noexcept=default
 Move constructor.
 
 ~Exception () noexcept override=default
 Destructor.
 
Exceptionoperator= (const Exception &)=default
 Copy assignment.
 
Exceptionoperator= (Exception &&) noexcept=default
 Move assignment.
 

Detailed Description

Thrown when File::Open fails on a filesystem path.

Constructor & Destructor Documentation

◆ FilePathOpenException()

StormByte::Multimedia::FilePathOpenException::FilePathOpenException ( const std::string &  path,
const std::string &  reason 
)
inline

Constructs the exception for path.

Parameters
pathFilesystem path.
reasonWhy Open failed.

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