| 1 | // For license of this file, see <project-root-folder>/LICENSE.md. |
| 2 | |
| 3 | #include "exceptions/applicationexception.h" |
| 4 | |
| 5 | ApplicationException::ApplicationException(QString message) : m_message(std::move(message)) {} |
| 6 | |
| 7 | ApplicationException::~ApplicationException() {} |
| 8 | |
| 9 | QString ApplicationException::message() const { |
| 10 | return m_message; |
| 11 | } |
| 12 | |
| 13 | void ApplicationException::setMessage(const QString& message) { |
| 14 | m_message = message; |
| 15 | } |