summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples/create_queue.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-06-13 18:46:29 +0000
committerAlan Conway <aconway@apache.org>2007-06-13 18:46:29 +0000
commit3eba3dccb56a799f9754bf9a2e1196c80a40bc72 (patch)
tree3b8488a0b7e9ec66ff752b75ac7354925e92e52e /qpid/cpp/examples/create_queue.cpp
parentc48c2e1532a0a145d9f0875abd232398e1b3f873 (diff)
downloadqpid-python-3eba3dccb56a799f9754bf9a2e1196c80a40bc72.tar.gz
Examples update, exception handling.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@546995 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples/create_queue.cpp')
-rw-r--r--qpid/cpp/examples/create_queue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/examples/create_queue.cpp b/qpid/cpp/examples/create_queue.cpp
index e30f40c1f6..7d08873246 100644
--- a/qpid/cpp/examples/create_queue.cpp
+++ b/qpid/cpp/examples/create_queue.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;