123456789101112131415161718192021222324252627282930 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2023-02-04
- * Changed: 2024-05-31
- *
- * */
- #include <ls-std/core/exception/EventNotHandledException.hpp>
- #include <ls-std/core/exception/ExceptionMessage.hpp>
- using ls::std::core::EventNotHandledException;
- using ls::std::core::Exception;
- using std::string;
- EventNotHandledException::EventNotHandledException() : Exception("EventNotHandledException")
- {}
- EventNotHandledException::EventNotHandledException(const string &_message) : EventNotHandledException()
- {
- this->_setMessage(_message);
- }
- EventNotHandledException::~EventNotHandledException() noexcept = default;
- const char *EventNotHandledException::what() const noexcept
- {
- return this->_getIdentifiedMessage("event was not handled - nothing happened!");
- }
|