diff options
| author | Alan Conway <aconway@apache.org> | 2007-06-13 18:46:29 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-06-13 18:46:29 +0000 |
| commit | 70df9f9535195b845e29a45a95a07a3b3262a52e (patch) | |
| tree | eeea10742dd80747c50a8e3e9f2ebfe7dfaf3a35 /cpp/examples/topic_publisher.cpp | |
| parent | 32f90e3bd579345ae51aed976c7b4f7073d33fb8 (diff) | |
| download | qpid-python-70df9f9535195b845e29a45a95a07a3b3262a52e.tar.gz | |
Examples update, exception handling.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@546995 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/topic_publisher.cpp')
| -rw-r--r-- | cpp/examples/topic_publisher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/examples/topic_publisher.cpp b/cpp/examples/topic_publisher.cpp index ecf5d51f2b..d3e1ea20b3 100644 --- a/cpp/examples/topic_publisher.cpp +++ b/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; |
