![]() |
Project
|
Exception handling errors due to exceeding the range of triggers handled by the handler. More...
#include <EventHandler.h>
Inherits std::exception.
Public Member Functions | |
RangeException (int eventID, int maxEvents) | |
Constructor defining the error. | |
~RangeException () noexcept final=default | |
Destructor. | |
const char * | what () const noexcept final |
Provide error message. | |
int | getEventID () const |
Get the ID of the event raising the exception. | |
int | getMaxNumberOfEvents () const |
Get the maximum number of events handled by the event handler. | |
Exception handling errors due to exceeding the range of triggers handled by the handler.
Definition at line 96 of file EventHandler.h.
|
inline |
Constructor defining the error.
eventID | Event ID responsible for the exception |
maxEvents | Maximum number of events handled by the handler |
Definition at line 102 of file EventHandler.h.
|
finaldefaultnoexcept |
Destructor.
|
inline |
Get the ID of the event raising the exception.
Definition at line 119 of file EventHandler.h.
|
inline |
Get the maximum number of events handled by the event handler.
Definition at line 123 of file EventHandler.h.
|
inlinefinalnoexcept |
Provide error message.
Definition at line 115 of file EventHandler.h.