diff options
| author | Gordon Sim <gsim@apache.org> | 2011-08-01 16:06:30 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2011-08-01 16:06:30 +0000 |
| commit | f0efbb12413006b560b70a22506cb5452f72f573 (patch) | |
| tree | 7e77ae5f13805cb7c14f2bf2b7e7f36318aa48a3 /cpp/src/qpid/client/amqp0_10 | |
| parent | f99f824824256ba900e9e2cab11b3cfbc2975741 (diff) | |
| download | qpid-python-f0efbb12413006b560b70a22506cb5452f72f573.tar.gz | |
QPID-3382: Corrected some exception types for connect errors
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1152853 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/amqp0_10')
| -rw-r--r-- | cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp b/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp index ced8cf66fd..3492938156 100644 --- a/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp +++ b/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp @@ -284,10 +284,7 @@ bool ConnectionImpl::tryConnect() QPID_LOG(info, "Connected to " << *i); mergeUrls(connection.getInitialBrokers(), l); return resetSessions(l); - } catch (const qpid::ConnectionException& e) { - //TODO: need to fix timeout on - //qpid::client::Connection::open() so that it throws - //TransportFailure rather than a ConnectionException + } catch (const qpid::TransportFailure& e) { QPID_LOG(info, "Failed to connect to " << *i << ": " << e.what()); } } |
