Changeset 5034a83 for src/orm


Ignore:
Timestamp:
01/07/10 17:09:25 (12 years ago)
Author:
korrco <korrco@…>
Branches:
master, qt5
Children:
66327a0
Parents:
9bbb44e
Message:

TODO for exception handling added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/orm/ormrecord.h

    r9bbb44e r5034a83  
    103103        if (!query.exec())
    104104        {
     105            //TODO Palo: exception handling !
     106                QString start = "START\n";
     107                QString end = "\nEND\n";
     108                QString message = start + query.lastError().text() + end;
     109                const char *data = message.toLatin1().data();
     110                qDebug(data);
    105111            throw new OrmSqlException(query.lastError().text());
    106112        }
Note: See TracChangeset for help on using the changeset viewer.