forked from qt-creator/qt-creator
Sqlite: Cleanup exceptions
Change-Id: Id5ac7e6aba407eb5a3164bba57bff043e809beef Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -25,16 +25,12 @@
|
||||
|
||||
#include "sqliteexception.h"
|
||||
|
||||
#include <utils/smallstringio.h>
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
namespace Sqlite {
|
||||
|
||||
SqliteException::SqliteException(const char *whatErrorHasHappen, const char *sqliteErrorMessage)
|
||||
: m_whatErrorHasHappen(whatErrorHasHappen),
|
||||
m_sqliteErrorMessage(sqliteErrorMessage)
|
||||
{
|
||||
}
|
||||
|
||||
void SqliteException::printWarning() const
|
||||
{
|
||||
if (!m_sqliteErrorMessage.isEmpty())
|
||||
|
||||
Reference in New Issue
Block a user