Mercurial > dedupe
view Exception/SQLException.cpp @ 40:f711ddb56ae7
Sort up includes.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Fri, 07 Sep 2012 13:32:33 +0200 |
| parents | bf3dce7fedcb |
| children | c9447697609f |
line wrap: on
line source
#include "SQLException.hpp" #include <QtSql/QSqlError> #include <QtSql/QSqlQuery> SQLException::SQLException(const QString& errorMsg) : Exception(errorMsg) { } SQLException::SQLException(const QSqlQuery& errorQuery) : Exception(errorQuery.lastError().text() + ":" + errorQuery.lastQuery()) { }
