/
Stormbery
/
CEX
Обзор
Документация
Войти
/
Stormbery
/
CEX
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
include/exception.h
23 строки
433 B
Stormbery
Added my project
09 май 2024, 16:34
09 май 2024, 16:34
26b09d5
Код
Авторство
О чём код?
#ifndef EXCEPTION_H #define EXCEPTION_H #include <string> #include <exception> #include <glibmm/object.h> class Exception: public std::exception { Glib::ustring Message; public: explicit Exception(const Glib::ustring &s) : Message(s) {} virtual ~Exception() noexcept {} virtual const char* what() const noexcept { return Message.c_str(); } }; #endif // EXCEPTION_H