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

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

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoWindow:
Inheritance graph
Collaboration diagram for CustomExceptions::NoWindow:
Collaboration graph

Public Member Functions

 NoWindow (const std::string &exceptionDetail="")
 Construct a new No Window object.
 
 ~NoWindow ()
 Destroy the No Window 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 window.

Definition at line 57 of file No.hpp.

Constructor & Destructor Documentation

◆ NoWindow()

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

Construct a new No Window object.

Parameters
exceptionDetailA string allowing you to provide extra detail if required

Definition at line 34 of file No.cpp.

◆ ~NoWindow()

CustomExceptions::NoWindow::~NoWindow ( )

Destroy the No Window object.

Definition at line 43 of file No.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 45 of file No.cpp.


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