Mercurial > dedupe
view Exception.hpp @ 2:2833b7f8884a
Sql backend is working.
Need to get more speed on comparisson.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Tue, 21 Aug 2012 14:25:33 +0200 |
| parents | a3834af36579 |
| children | d7b384b4a834 |
line wrap: on
line source
#ifndef EXCEPTION_HPP #define EXCEPTION_HPP #include <QtCore/QString> class Exception { public: virtual QString toString() const { return errorMsg_; } protected: Exception(const QString& errorMsg) : errorMsg_(errorMsg) {} virtual ~Exception() {} void setErrorMsg(QString& errorMsg); const QString& errorMsg(QString& errorMsg); private: QString errorMsg_; }; #endif //EXCEPTION_HPP
