Base shapes exception.
More...
#include <exceptions.hpp>
Base shapes exception.
- Since
- 0.0.1
Definition at line 19 of file exceptions.hpp.
simo::shapes::exceptions::shapes_exception::shapes_exception |
( |
const char * |
reason | ) |
|
|
inlineexplicit |
Creates a shapes exception.
- Parameters
-
reason | the exception reason |
- Since
- 0.0.1
Definition at line 29 of file exceptions.hpp.
void simo::shapes::exceptions::shapes_exception::set_reason |
( |
const std::string & |
reason | ) |
|
|
inlineprotected |
Set the exception reason.
- Parameters
-
reason | the exception reason |
- Since
- 0.0.1
Definition at line 52 of file exceptions.hpp.
const char* simo::shapes::exceptions::shapes_exception::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
Returns the exception reason.
- Returns
- a string with the exception reason
- Since
- 0.0.1
Definition at line 39 of file exceptions.hpp.
The documentation for this class was generated from the following file: