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

This is the class in charge of informing the user that the music configuration they provided is incorrect. More...

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidMusicConfiguration:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidMusicConfiguration:
Collaboration graph

Public Member Functions

 InvalidMusicConfiguration (const std::string &userConfiguration="", const std::string &musicName="")
 Construct a new Invalid Music Configuration object.
 
 ~InvalidMusicConfiguration ()
 Destroy the Invalid Music Configuration object.
 
const char * what () const noexcept
 Retrieves the error message.
 

Detailed Description

This is the class in charge of informing the user that the music configuration they provided is incorrect.

Definition at line 118 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidMusicConfiguration()

CustomExceptions::InvalidMusicConfiguration::InvalidMusicConfiguration ( const std::string & userConfiguration = "",
const std::string & musicName = "" )

Construct a new Invalid Music Configuration object.

Parameters
userConfigurationThe configuration section provided by the user.
musicNameThe name of the music that was affected by the configuration.

Definition at line 71 of file Invalid.cpp.

◆ ~InvalidMusicConfiguration()

CustomExceptions::InvalidMusicConfiguration::~InvalidMusicConfiguration ( )

Destroy the Invalid Music Configuration object.

Definition at line 85 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 87 of file Invalid.cpp.


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