R-Type  2
Doom but in better
Loading...
Searching...
No Matches
CustomExceptions::MusicNotInitialised Class Reference

This is the class in charge of informing the user that they tried to play music from a class that has not music initialised. More...

#include <NotInitialised.hpp>

Inheritance diagram for CustomExceptions::MusicNotInitialised:
Inheritance graph
Collaboration diagram for CustomExceptions::MusicNotInitialised:
Collaboration graph

Public Member Functions

 MusicNotInitialised (const std::string &exceptionDetail="")
 Construct a new Music Not Initialised object.
 
 ~MusicNotInitialised ()
 Destroy the Music Not Initialised object.
 
const char * what () const noexcept
 Retrieves the error message.
 

Detailed Description

This is the class in charge of informing the user that they tried to play music from a class that has not music initialised.

Definition at line 30 of file NotInitialised.hpp.

Constructor & Destructor Documentation

◆ MusicNotInitialised()

CustomExceptions::MusicNotInitialised::MusicNotInitialised ( const std::string & exceptionDetail = "")

Construct a new Music Not Initialised object.

Parameters
exceptionDetailA string allowing you to provide additional detail if required.

Definition at line 19 of file NotInitialised.cpp.

◆ ~MusicNotInitialised()

CustomExceptions::MusicNotInitialised::~MusicNotInitialised ( )

Destroy the Music Not Initialised object.

Definition at line 29 of file NotInitialised.cpp.

Member Function Documentation

◆ what()

const char * CustomExceptions::MusicNotInitialised::what ( ) const
noexcept

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 31 of file NotInitialised.cpp.


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