Mercurial > dedupe
view Exception/SQLException.cpp @ 31:bf3dce7fedcb
Remove all references to QDebug
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 06 Sep 2012 19:14:58 +0200 |
| parents | |
| children | f711ddb56ae7 |
line wrap: on
line source
#include "SQLException.hpp" #include <QtSql/QSqlQuery> #include <QtSql/QSqlError> SQLException::SQLException(const QString& errorMsg) : Exception(errorMsg) { } SQLException::SQLException(const QSqlQuery& errorQuery) : Exception(errorQuery.lastError().text() + ":" + errorQuery.lastQuery()) { }
