diff options
| author | Gordon Sim <gsim@apache.org> | 2010-04-14 12:24:28 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2010-04-14 12:24:28 +0000 |
| commit | d39020abcb8cacfcf3cf639a8310ab3075c0eef1 (patch) | |
| tree | 08e10c1be3170efe4534dee6bbdb3f41515326b7 /qpid/cpp/src | |
| parent | d00cc63a79f570ad2d953bc9d8009a4c688546a9 (diff) | |
| download | qpid-python-d39020abcb8cacfcf3cf639a8310ab3075c0eef1.tar.gz | |
QPID-664: more specific exception handling (avoids reconnecting for invalid url)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@933924 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp b/qpid/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp index 7e5018fc5f..2ee9cf3fc0 100644 --- a/qpid/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp +++ b/qpid/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp @@ -255,7 +255,7 @@ bool ConnectionImpl::tryConnect(const std::vector<std::string>& urls) } QPID_LOG(info, "Connected to " << *i); return true; - } catch (const qpid::Exception& e) { + } catch (const qpid::ConnectionException& e) { //TODO: need to fix timeout on //qpid::client::Connection::open() so that it throws //TransportFailure rather than a ConnectionException |
