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

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

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoSprite:
Inheritance graph
Collaboration diagram for CustomExceptions::NoSprite:
Collaboration graph

Public Member Functions

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

Definition at line 298 of file No.hpp.

Constructor & Destructor Documentation

◆ NoSprite()

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

Construct a new No Sprite object.

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

Definition at line 168 of file No.cpp.

◆ ~NoSprite()

CustomExceptions::NoSprite::~NoSprite ( )

Destroy the No Sprite object.

Definition at line 177 of file No.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 179 of file No.cpp.


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