R-Type  1.0.1.0
Rewrite of the R-Type game with networking ability
Loading...
Searching...
No Matches
uranus::ex::Exception Class Reference

The exception class. More...

#include <Core.hpp>

Inheritance diagram for uranus::ex::Exception:
[legend]
Collaboration diagram for uranus::ex::Exception:
[legend]

Public Member Functions

 Exception (const std::string &message)
 The constructor of the exception class. More...
 
const char * what () const noexcept override
 Get the message of the exception. More...
 

Private Attributes

std::string _message
 The message of the exception.
 

Detailed Description

The exception class.

Constructor & Destructor Documentation

◆ Exception()

uranus::ex::Exception::Exception ( const std::string &  message)
inlineexplicit

The constructor of the exception class.

Parameters
messageThe message of the exception.

Member Function Documentation

◆ what()

const char * uranus::ex::Exception::what ( ) const
inlineoverridenoexcept

Get the message of the exception.

Returns
the message of the exception.

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