Mercurial > dedupe
view Exception/SQLException.hpp @ 82:f507a7240bc9
Functionality for easy clearing of a query when throwing an exception.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Thu, 10 Oct 2013 14:13:01 +0200 |
| parents | c9447697609f |
| children |
line wrap: on
line source
#ifndef SQLEXCEPTION_HPP #define SQLEXCEPTION_HPP #include "Exception.hpp" class QSqlQuery; class SQLException : public Exception { public: SQLException(const string_t& errMsg); SQLException(const QSqlQuery& error); SQLException(QSqlQuery& error, bool clear); virtual void raise() const; }; #endif //IOEXCEPTION_HPP
