| 1 | // For license of this file, see <project-root-folder>/LICENSE.md. |
| 2 | |
| 3 | #ifndef APPLICATIONEXCEPTION_H |
| 4 | #define APPLICATIONEXCEPTION_H |
| 5 | |
| 6 | #include <QString> |
| 7 | |
| 8 | class RSSGUARD_DLLSPEC ApplicationException { |
| 9 | public: |
| 10 | explicit ApplicationException(QString message = {}); |
| 11 | virtual ~ApplicationException(); |
| 12 | |
| 13 | QString message() const; |
| 14 | |
| 15 | protected: |
| 16 | void setMessage(const QString& message); |
| 17 | |
| 18 | private: |
| 19 | QString m_message; |
| 20 | }; |
| 21 | |
| 22 | #endif // APPLICATIONEXCEPTION_H |