summaryrefslogtreecommitdiff
path: root/tests/test8.cpp
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2010-09-05 18:12:39 +0200
committerAndreas Baumann <abaumann@yahoo.com>2010-09-05 18:12:39 +0200
commit73a0556dca6ff98da2a77a34e75c5eec5969cd87 (patch)
tree5f092a4074192f4031d33cc50bc7142ea11fc14f /tests/test8.cpp
parent9a717577d06f00bb8a0c7338f7b687540b5e017d (diff)
downloadsqlitexx-73a0556dca6ff98da2a77a34e75c5eec5969cd87.tar.gz
sqlitexx-73a0556dca6ff98da2a77a34e75c5eec5969cd87.tar.bz2
revised exception hierarchy, following more the pqxx ideas
Diffstat (limited to 'tests/test8.cpp')
-rw-r--r--tests/test8.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test8.cpp b/tests/test8.cpp
index c4a5ae8..2bf59b0 100644
--- a/tests/test8.cpp
+++ b/tests/test8.cpp
@@ -95,6 +95,6 @@ int main( ) {
cout << "end." << endl;
} catch( sql_error& e ) {
- cerr << e.msg( ) << ": " << e.query( ) << endl;
+ cerr << e.what( ) << ": " << e.query( ) << endl;
}
}