StormByte-Multimedia 3.3.2
C++26 multimedia processing module of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Multimedia::FileBufferOpenException Class Reference

Thrown when File::Open fails on a Consumer. More...

#include <StormByte/multimedia/exception.hxx>

Inheritance diagram for StormByte::Multimedia::FileBufferOpenException:
Collaboration diagram for StormByte::Multimedia::FileBufferOpenException:

Public Member Functions

 FileBufferOpenException (std::string_view reason)
 Constructs the exception.
 FileBufferOpenException (const FileBufferOpenException &other)
 Copy constructor.
 FileBufferOpenException (FileBufferOpenException &&other) noexcept
 Move constructor.
 ~FileBufferOpenException () noexcept override
 Destructor.
FileBufferOpenException & operator= (const FileBufferOpenException &other)
 Copy assignment.
FileBufferOpenException & operator= (FileBufferOpenException &&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 Consumer.

Constructor & Destructor Documentation

◆ FileBufferOpenException() [1/3]

StormByte::Multimedia::FileBufferOpenException::FileBufferOpenException ( std::string_view reason)
inlineexplicit

Constructs the exception.

Parameters
reasonWhy Open failed (empty, corrupt, I/O).

◆ FileBufferOpenException() [2/3]

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

Copy constructor.

Parameters
otherException to copy.

◆ FileBufferOpenException() [3/3]

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

Move constructor.

Parameters
otherException to take.

◆ ~FileBufferOpenException()

StormByte::Multimedia::FileBufferOpenException::~FileBufferOpenException ( )
overridenoexcept

Destructor.

Defined in the Multimedia library to anchor RTTI.

Member Function Documentation

◆ operator=() [1/2]

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

Copy assignment.

Parameters
otherException to copy.
Returns
*this.

◆ operator=() [2/2]

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

Move assignment.

Parameters
otherException to take.
Returns
*this.

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