Changeset 5034a83
- Timestamp:
- 01/07/10 17:09:25 (13 years ago)
- Branches:
- master, qt5
- Children:
- 66327a0
- Parents:
- 9bbb44e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/orm/ormrecord.h
r9bbb44e r5034a83 103 103 if (!query.exec()) 104 104 { 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); 105 111 throw new OrmSqlException(query.lastError().text()); 106 112 }
Note: See TracChangeset
for help on using the changeset viewer.