Exception to be thrown by GUI code.
More...
#include <gui_exception.hpp>
|
| exception (const std::string &message) |
|
| exception (const std::string &class_name, const std::string &message) |
|
const std::string & | get_description () const |
| Returns the message of the exception.
|
|
const char * | what () const noexcept override |
| Override std::exception::what()
|
|
|
std::string | message_ = "Undefined exception." |
|
Exception to be thrown by GUI code.
Definition at line 12 of file gui_exception.hpp.
◆ exception() [1/2]
lxgui::gui::exception::exception |
( |
const std::string & |
message | ) |
|
|
inlineexplicit |
◆ exception() [2/2]
lxgui::gui::exception::exception |
( |
const std::string & |
class_name, |
|
|
const std::string & |
message |
|
) |
| |
|
inline |
◆ get_description()
const std::string & lxgui::utils::exception::get_description |
( |
| ) |
const |
|
inherited |
Returns the message of the exception.
- Returns
- The message of the exception
Definition at line 10 of file utils_exception.cpp.
◆ what()
const char * lxgui::utils::exception::what |
( |
| ) |
const |
|
overridenoexceptinherited |
Override std::exception::what()
- Returns
- The message of the exception
Definition at line 14 of file utils_exception.cpp.
◆ message_
std::string lxgui::utils::exception::message_ = "Undefined exception." |
|
protectedinherited |
The documentation for this class was generated from the following file: