diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2010-09-05 18:12:39 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2010-09-05 18:12:39 +0200 |
commit | 73a0556dca6ff98da2a77a34e75c5eec5969cd87 (patch) | |
tree | 5f092a4074192f4031d33cc50bc7142ea11fc14f /tests/test4.cpp | |
parent | 9a717577d06f00bb8a0c7338f7b687540b5e017d (diff) | |
download | sqlitexx-73a0556dca6ff98da2a77a34e75c5eec5969cd87.tar.gz sqlitexx-73a0556dca6ff98da2a77a34e75c5eec5969cd87.tar.bz2 |
revised exception hierarchy, following more the pqxx ideas
Diffstat (limited to 'tests/test4.cpp')
-rw-r--r-- | tests/test4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test4.cpp b/tests/test4.cpp index b9dd69e..43ac207 100644 --- a/tests/test4.cpp +++ b/tests/test4.cpp @@ -73,6 +73,6 @@ int main( ) { cout << "end." << endl; } catch( sql_error& e ) { - cerr << e.msg( ) << ": " << e.query( ) << endl; + cerr << e.what( ) << ": " << e.query( ) << endl; } } |