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/ConnectionImpl.cpp | |
| 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/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(); |
