Alchemy 0.0.9999
Alchemy is a C++ library for multimedia file management.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Alchemy::Exception Class Reference

The base exception class for the Alchemy library. More...

#include <exception.hxx>

Inheritance diagram for Alchemy::Exception:
Inheritance graph
[legend]
Collaboration diagram for Alchemy::Exception:
Collaboration graph
[legend]

Public Member Functions

 Exception (const std::string &message)
 Constructor.
 
 Exception (const Exception &other)=default
 Copy constructor.
 
 Exception (Exception &&other) noexcept=default
 Move constructor.
 
Exceptionoperator= (const Exception &other)=default
 Copy assignment operator.
 
Exceptionoperator= (Exception &&other) noexcept=default
 Move assignment operator.
 
virtual ~Exception () noexcept=default
 Destructor.
 

Detailed Description

The base exception class for the Alchemy library.

Constructor & Destructor Documentation

◆ Exception() [1/3]

Alchemy::Exception::Exception ( const std::string &  message)

Constructor.

Parameters
messageThe message of the exception.

◆ Exception() [2/3]

Alchemy::Exception::Exception ( const Exception other)
default

Copy constructor.

Parameters
otherThe Exception object to copy.

◆ Exception() [3/3]

Alchemy::Exception::Exception ( Exception &&  other)
defaultnoexcept

Move constructor.

Parameters
otherThe Exception object to move.

Member Function Documentation

◆ operator=() [1/2]

Exception & Alchemy::Exception::operator= ( const Exception other)
default

Copy assignment operator.

Parameters
otherThe Exception object to copy.
Returns
A reference to this object.

◆ operator=() [2/2]

Exception & Alchemy::Exception::operator= ( Exception &&  other)
defaultnoexcept

Move assignment operator.

Parameters
otherThe Exception object to move.
Returns
A reference to this object.

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