diff options
author | Alan Conway <aconway@apache.org> | 2010-06-02 21:21:38 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2010-06-02 21:21:38 +0000 |
commit | 7ae9c3439b5165aedf85fec2f3037fc623eddc9d (patch) | |
tree | 217affd8202df8d2101d018020150fccf8eafdbf /cpp/src/qpid/messaging/Connection.cpp | |
parent | 82370f874e14cf7ee9d781a1902572e6bac00926 (diff) | |
download | qpid-python-7ae9c3439b5165aedf85fec2f3037fc623eddc9d.tar.gz |
Fix error string for invalid options, fix exception handling in qpid_send/qpid_receive.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950763 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/messaging/Connection.cpp')
-rw-r--r-- | cpp/src/qpid/messaging/Connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/messaging/Connection.cpp b/cpp/src/qpid/messaging/Connection.cpp index 53d37562e7..2bd5ba96f9 100644 --- a/cpp/src/qpid/messaging/Connection.cpp +++ b/cpp/src/qpid/messaging/Connection.cpp @@ -46,7 +46,7 @@ Connection::Connection(const std::string& url, const std::string& o) if (o.empty() || parser.parseMap(options)) { PI::ctor(*this, new qpid::client::amqp0_10::ConnectionImpl(url, options)); } else { - throw InvalidOptionString(o); + throw InvalidOptionString("Invalid option string: " + o); } } Connection::Connection(const std::string& url, const Variant::Map& options) |