Beatmup
Beatmup::Insanity Class Reference

Exception thrown when something happens that should never do. More...

#include <exception.h>

Inheritance diagram for Beatmup::Insanity:
Beatmup::Exception

Static Public Member Functions

static void insanity (const char *message)
 

Private Member Functions

 Insanity (const char *message)
 

Additional Inherited Members

- Public Member Functions inherited from Beatmup::Exception
virtual const char * what () const NOEXCEPT override
 
- Protected Member Functions inherited from Beatmup::Exception
 Exception (const char *message)
 
template<typename ... Args>
 Exception (const char *message, const Args &... args)
 

Detailed Description

Exception thrown when something happens that should never do.

Definition at line 132 of file exception.h.

Constructor & Destructor Documentation

◆ Insanity()

Beatmup::Insanity::Insanity ( const char *  message)
inlineprivate

Definition at line 134 of file exception.h.

134 : Exception(message) {}
Exception(const char *message)
Definition: exception.h:41
std::string message
Definition: exception.h:39

Member Function Documentation

◆ insanity()

static void Beatmup::Insanity::insanity ( const char *  message)
inlinestatic

Definition at line 136 of file exception.h.

136  {
137  throw Beatmup::Insanity(message);
138  }
Exception thrown when something happens that should never do.
Definition: exception.h:132

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