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 | 73dc0b7e2842e2f1b2aa193644c82c09a9603001 (patch) | |
tree | 944c095b8ae42b32eff9c52074a08e9867e2563b /cpp | |
parent | cff3c1572ef3e10148e2b7dfde7325d977892474 (diff) | |
download | qpid-python-73dc0b7e2842e2f1b2aa193644c82c09a9603001.tar.gz |
QPID-664: more specific exception handling (avoids reconnecting for invalid url)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933924 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp b/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp index 7e5018fc5f..2ee9cf3fc0 100644 --- a/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp +++ b/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 |