summaryrefslogtreecommitdiff
path: root/src/libs/sqlite/sqliteindex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/sqlite/sqliteindex.h')
-rw-r--r--src/libs/sqlite/sqliteindex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/sqlite/sqliteindex.h b/src/libs/sqlite/sqliteindex.h
index 488aa8770a..f320fcd599 100644
--- a/src/libs/sqlite/sqliteindex.h
+++ b/src/libs/sqlite/sqliteindex.h
@@ -55,13 +55,13 @@ public:
void checkTableName() const
{
if (m_tableName.isEmpty())
- throw Exception("SqliteIndex has not table name!");
+ throw IndexHasNoTableName();
}
void checkColumns() const
{
if (m_columnNames.empty())
- throw Exception("SqliteIndex has no columns!");
+ throw IndexHasNoColumns();
}
private: