You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2007/02/09 15:03:16 UTC
svn commit: r505298 -
/incubator/qpid/branches/qpid.0-9/cpp/lib/broker/BrokerAdapter.cpp
Author: gsim
Date: Fri Feb 9 06:03:16 2007
New Revision: 505298
URL: http://svn.apache.org/viewvc?view=rev&rev=505298
Log:
'Corrected' error code (507 no longer exists in the spec so using what java has i.e. 530).
Modified:
incubator/qpid/branches/qpid.0-9/cpp/lib/broker/BrokerAdapter.cpp
Modified: incubator/qpid/branches/qpid.0-9/cpp/lib/broker/BrokerAdapter.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-9/cpp/lib/broker/BrokerAdapter.cpp?view=diff&rev=505298&r1=505297&r2=505298
==============================================================================
--- incubator/qpid/branches/qpid.0-9/cpp/lib/broker/BrokerAdapter.cpp (original)
+++ incubator/qpid/branches/qpid.0-9/cpp/lib/broker/BrokerAdapter.cpp Fri Feb 9 06:03:16 2007
@@ -106,7 +106,7 @@
std::pair<Exchange::shared_ptr, bool> response = broker.getExchanges().declare(exchange, type);
if(!response.second && response.first->getType() != type){
throw ConnectionException(
- 507,
+ 530,
"Exchange already declared to be of type "
+ response.first->getType() + ", requested " + type);
}