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

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

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidFontConfiguration:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidFontConfiguration:
Collaboration graph

Public Member Functions

 InvalidFontConfiguration (const std::string &userConfiguration="", const std::string &fontName="")
 Construct a new Invalid Font Configuration object.
 
 ~InvalidFontConfiguration ()
 Destroy the Invalid Font 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 font configuration they provided is incorrect.

Definition at line 88 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidFontConfiguration()

CustomExceptions::InvalidFontConfiguration::InvalidFontConfiguration ( const std::string & userConfiguration = "",
const std::string & fontName = "" )

Construct a new Invalid Font Configuration object.

Parameters
userConfigurationThe configuration section provided by the user
fontNameThe name of the font that was affected by the configuration

Definition at line 49 of file Invalid.cpp.

◆ ~InvalidFontConfiguration()

CustomExceptions::InvalidFontConfiguration::~InvalidFontConfiguration ( )

Destroy the Invalid Font Configuration object.

Definition at line 64 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 66 of file Invalid.cpp.


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