R-Type  1.0.0
R-Type Project from Epitech
Public Member Functions | List of all members
Exceptions Class Reference

Exceptions class. More...

#include <Exceptions.hpp>

Inheritance diagram for Exceptions:
EcsExceptions GameExceptions ScreensExceptions

Public Member Functions

 Exceptions ()
 Construct a new Exceptions object. More...
 
 Exceptions (std::string msg)
 Construct a new Exceptions object. More...
 
 ~Exceptions ()
 Destroy the Exceptions object. More...
 
const char * what () const throw ()
 Get the message to throw. More...
 

Detailed Description

Exceptions class.

Constructor & Destructor Documentation

◆ Exceptions() [1/2]

Exceptions::Exceptions ( )
inline

Construct a new Exceptions object.

◆ Exceptions() [2/2]

Exceptions::Exceptions ( std::string  msg)
inline

Construct a new Exceptions object.

Parameters
msgMessage to throw when the exception is catch

◆ ~Exceptions()

Exceptions::~Exceptions ( )
inline

Destroy the Exceptions object.

Member Function Documentation

◆ what()

const char* Exceptions::what ( ) const
throw (
)
inline

Get the message to throw.

Returns
std::string Message to throw

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