StormByte-Multimedia 3.3.2
C++26 multimedia processing module of the StormByte suite
Loading...
Searching...
No Matches
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:
Collaboration diagram for StormByte::Multimedia::FilePathOpenException:

Public Member Functions

 FilePathOpenException (std::string_view path, std::string_view reason)
 Constructs the exception for path.
 FilePathOpenException (const FilePathOpenException &other)
 Copy constructor.
 FilePathOpenException (FilePathOpenException &&other) noexcept
 Move constructor.
 ~FilePathOpenException () noexcept override
 Destructor.
FilePathOpenException & operator= (const FilePathOpenException &other)
 Copy assignment.
FilePathOpenException & operator= (FilePathOpenException &&other) noexcept
 Move assignment.
Public Member Functions inherited from StormByte::Multimedia::FileOpenException
 FileOpenException (std::string_view message)
 Constructs the exception with a finished message.
 FileOpenException (const FileOpenException &other)
 Copy constructor.
 FileOpenException (FileOpenException &&other) noexcept
 Move constructor.
 ~FileOpenException () noexcept override
 Destructor.
FileOpenException & operator= (const FileOpenException &other)
 Copy assignment.
FileOpenException & operator= (FileOpenException &&other) noexcept
 Move assignment.
Public Member Functions inherited from StormByte::Multimedia::Exception
template<typename... Args>
requires (sizeof...(Args) >= 1)
 Exception (std::string_view pattern, Args &&... args)
 Replace literal {} under StormByte.Multimedia.
 Exception (std::string_view message)
 Copy a borrowed plain message under StormByte.Multimedia.
template<typename... Args>
requires (sizeof...(Args) >= 1)
 Exception (Path path, std::string_view pattern, Args &&... args)
 Replace literal {} under an additional Multimedia path.
 Exception (Path path, std::string_view message)
 Copy a borrowed plain message under an additional Multimedia path.
 Exception (const Exception &other)
 Copy constructor.
 Exception (Exception &&other) noexcept
 Move constructor.
 ~Exception () noexcept override
 Destructor.
Exception & operator= (const Exception &other)
 Copy assignment.
Exception & operator= (Exception &&other) noexcept
 Move assignment.
Public Member Functions inherited from StormByte::Exception
 Exception (std::string_view message)
 Exception (const Exception &other)
 Exception (Exception &&other) noexcept
Exception & operator= (const Exception &other)
Exception & operator= (Exception &&other) noexcept
virtual const char * what () const noexcept

Additional Inherited Members

Protected Member Functions inherited from StormByte::Exception
 Exception () noexcept
 Exception (Path path, std::string_view message)
 Exception (Path path, Safe::String &&message)
 Exception (Path path, std::string_view pattern, Args &&... args)

Detailed Description

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

Constructor & Destructor Documentation

◆ FilePathOpenException() [1/3]

StormByte::Multimedia::FilePathOpenException::FilePathOpenException ( std::string_view path,
std::string_view reason )
inlineexplicit

Constructs the exception for path.

Parameters
pathFilesystem path.
reasonWhy Open failed.

◆ FilePathOpenException() [2/3]

StormByte::Multimedia::FilePathOpenException::FilePathOpenException ( const FilePathOpenException & other)

Copy constructor.

Parameters
otherException to copy.

◆ FilePathOpenException() [3/3]

StormByte::Multimedia::FilePathOpenException::FilePathOpenException ( FilePathOpenException && other)
noexcept

Move constructor.

Parameters
otherException to take.

◆ ~FilePathOpenException()

StormByte::Multimedia::FilePathOpenException::~FilePathOpenException ( )
overridenoexcept

Destructor.

Defined in the Multimedia library to anchor RTTI.

Member Function Documentation

◆ operator=() [1/2]

FilePathOpenException & StormByte::Multimedia::FilePathOpenException::operator= ( const FilePathOpenException & other)

Copy assignment.

Parameters
otherException to copy.
Returns
*this.

◆ operator=() [2/2]

FilePathOpenException & StormByte::Multimedia::FilePathOpenException::operator= ( FilePathOpenException && other)
noexcept

Move assignment.

Parameters
otherException to take.
Returns
*this.

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