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

This is the class in charge of informing the user that they tried to access a non-existant font instance. More...

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoFont:
Inheritance graph
Collaboration diagram for CustomExceptions::NoFont:
Collaboration graph

Public Member Functions

 NoFont (const std::string &fontName="", const std::string &exceptionDetail="")
 Construct a new No Font object.
 
 ~NoFont ()
 Destroy the No Font 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 access a non-existant font instance.

Definition at line 358 of file No.hpp.

Constructor & Destructor Documentation

◆ NoFont()

CustomExceptions::NoFont::NoFont ( const std::string & fontName = "",
const std::string & exceptionDetail = "" )

Construct a new No Font object.

Parameters
fontNameThe name of the font that was provided.
exceptionDetailAdditional detail about the error.

Definition at line 200 of file No.cpp.

◆ ~NoFont()

CustomExceptions::NoFont::~NoFont ( )

Destroy the No Font object.

Definition at line 213 of file No.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 215 of file No.cpp.


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