From 3eba3dccb56a799f9754bf9a2e1196c80a40bc72 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 13 Jun 2007 18:46:29 +0000 Subject: Examples update, exception handling. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@546995 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/examples/topic_publisher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp/examples/topic_publisher.cpp') diff --git a/qpid/cpp/examples/topic_publisher.cpp b/qpid/cpp/examples/topic_publisher.cpp index ecf5d51f2b..d3e1ea20b3 100644 --- a/qpid/cpp/examples/topic_publisher.cpp +++ b/qpid/cpp/examples/topic_publisher.cpp @@ -73,7 +73,7 @@ int main() { channel.close(); connection.close(); return 0; - } catch(qpid::QpidError error) { + } catch(const std::exception& error) { std::cout << error.what() << std::endl; } return 1; -- cgit v1.2.1