/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2023-02-04 * Changed: 2023-05-19 * * */ #include #include using ls::std::core::EventNotSubscribedException; using ls::std::core::Exception; using std::move; using std::string; EventNotSubscribedException::EventNotSubscribedException() : Exception("EventNotSubscribedException") {} EventNotSubscribedException::EventNotSubscribedException(const string &_message) : EventNotSubscribedException() { this->_setMessage(_message); } EventNotSubscribedException::~EventNotSubscribedException() noexcept = default; const char *EventNotSubscribedException::what() const noexcept { return this->_getIdentifiedMessage("event was not subscribed!"); }