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

This is the class in charge of informing the user that the window frame limit is invalid. More...

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidFrameLimit:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidFrameLimit:
Collaboration graph

Public Member Functions

 InvalidFrameLimit (unsigned int frameLimit)
 Construct a new Invalid Frame Limit object.
 
 InvalidFrameLimit (const std::string &frameLimit)
 Construct a new Invalid Frame Limit object.
 
 ~InvalidFrameLimit ()
 Destroy the Invalid Frame Limit object.
 
const char * what () const noexcept
 Retrieves the error message.
 

Detailed Description

This is the class in charge of informing the user that the window frame limit is invalid.

Definition at line 357 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidFrameLimit() [1/2]

CustomExceptions::InvalidFrameLimit::InvalidFrameLimit ( unsigned int frameLimit)

Construct a new Invalid Frame Limit object.

Parameters
frameLimitThe frame limit provided by the user as an integer

Definition at line 236 of file Invalid.cpp.

◆ InvalidFrameLimit() [2/2]

CustomExceptions::InvalidFrameLimit::InvalidFrameLimit ( const std::string & frameLimit)

Construct a new Invalid Frame Limit object.

Parameters
frameLimitThe frame limit provided by the user as a string

Definition at line 244 of file Invalid.cpp.

◆ ~InvalidFrameLimit()

CustomExceptions::InvalidFrameLimit::~InvalidFrameLimit ( )

Destroy the Invalid Frame Limit object.

Definition at line 252 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 254 of file Invalid.cpp.


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