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 | 91a104cfe511c4448a6aaaed6308632d912e9594 (patch) | |
tree | 7e77ae5f13805cb7c14f2bf2b7e7f36318aa48a3 /cpp/src/qpid/client/ConnectionImpl.cpp | |
parent | dbaedebe0bd8cbf041727be0aeae7a27bf8961f3 (diff) | |
download | qpid-python-91a104cfe511c4448a6aaaed6308632d912e9594.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/ConnectionImpl.cpp')
-rw-r--r-- | cpp/src/qpid/client/ConnectionImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/ConnectionImpl.cpp b/cpp/src/qpid/client/ConnectionImpl.cpp index 4b7aa07065..db97f1e0f4 100644 --- a/cpp/src/qpid/client/ConnectionImpl.cpp +++ b/cpp/src/qpid/client/ConnectionImpl.cpp @@ -265,7 +265,7 @@ void ConnectionImpl::open() } catch (const std::exception& e) { QPID_LOG(debug, "Failed to connect to " << protocol << ":" << host << ":" << port << " " << e.what()); connector.reset(); - throw; + throw TransportFailure(e.what()); } connector->init(); |