qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r933924 - /qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp
Date Wed, 14 Apr 2010 12:24:29 GMT
Author: gsim
Date: Wed Apr 14 12:24:28 2010
New Revision: 933924

URL: http://svn.apache.org/viewvc?rev=933924&view=rev
Log:
QPID-664: more specific exception handling (avoids reconnecting for invalid url)

Modified:
    qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp?rev=933924&r1=933923&r2=933924&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp Wed Apr 14 12:24:28 2010
@@ -255,7 +255,7 @@ bool ConnectionImpl::tryConnect(const st
             }
             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



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message