projects
/
emufront
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db7b38f
)
Throws EmuFrontException.
author
Mikko Keinänen
<mikko.keinanen@gmail.com>
Fri, 19 Nov 2010 19:19:16 +0000
(21:19 +0200)
committer
Mikko Keinänen
<mikko.keinanen@gmail.com>
Fri, 19 Nov 2010 19:19:16 +0000
(21:19 +0200)
src/db/dbcreator.cpp
patch
|
blob
|
history
diff --git
a/src/db/dbcreator.cpp
b/src/db/dbcreator.cpp
index
48a755d
..
b7d6da1
100644
(file)
--- a/
src/db/dbcreator.cpp
+++ b/
src/db/dbcreator.cpp
@@
-27,7
+27,7
@@
#include <QDebug>
#include <exception>
#include "dbcreator.h"
-
+#include "../exceptions/emufrontexception.h"
using namespace std;
@@
-239,7
+239,7
@@
bool DbCreator::createDB()
catch (QString tbl)
{
QString err = query.lastError().text();
- throw QString("Couldn't CREATE '%1'!").arg(tbl).append(err);
+ throw EmuFrontException(QString("Couldn't CREATE '%1'!").arg(tbl).append(err));
}
return ret;
}