From 7ae9c3439b5165aedf85fec2f3037fc623eddc9d Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 2 Jun 2010 21:21:38 +0000 Subject: 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 --- cpp/src/qpid/messaging/Connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/messaging/Connection.cpp') 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) -- cgit v1.2.1