summaryrefslogtreecommitdiff
path: root/cpp/src/tests/topic_publisher.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-06-14 13:03:22 +0000
committerAlan Conway <aconway@apache.org>2007-06-14 13:03:22 +0000
commit5c52a1984357b3f0145eac2d146d44cb8e41afb4 (patch)
treeaec5e46465d94bcf5b1d76660b077491bd117203 /cpp/src/tests/topic_publisher.cpp
parentb3747b9e1a5090a5eea0ac067b94d259f17ee09a (diff)
downloadqpid-python-5c52a1984357b3f0145eac2d146d44cb8e41afb4.tar.gz
Fixed catch clauses to catch by const & and use std::exception for
"generic" catches. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@547241 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/topic_publisher.cpp')
-rw-r--r--cpp/src/tests/topic_publisher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/topic_publisher.cpp b/cpp/src/tests/topic_publisher.cpp
index 7c16dd71f3..9384053e68 100644
--- a/cpp/src/tests/topic_publisher.cpp
+++ b/cpp/src/tests/topic_publisher.cpp
@@ -157,7 +157,7 @@ int main(int argc, char** argv) {
channel.close();
connection.close();
return 0;
- }catch(qpid::QpidError error) {
+ }catch(std::exception& error) {
std::cout << error.what() << std::endl;
}
}