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

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

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoSpriteSheet:
Inheritance graph
Collaboration diagram for CustomExceptions::NoSpriteSheet:
Collaboration graph

Public Member Functions

 NoSpriteSheet (const std::string &exceptionDetail="")
 Construct a new No Sprite Sheet object.
 
 ~NoSpriteSheet ()
 Destroy the No Sprite Sheet 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 spritesheet.

Definition at line 117 of file No.hpp.

Constructor & Destructor Documentation

◆ NoSpriteSheet()

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

Construct a new No Sprite Sheet object.

Parameters
exceptionDetailA string allowing you to provide extra detail if required

Definition at line 66 of file No.cpp.

◆ ~NoSpriteSheet()

CustomExceptions::NoSpriteSheet::~NoSpriteSheet ( )

Destroy the No Sprite Sheet object.

Definition at line 77 of file No.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 79 of file No.cpp.


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