Author: gsim
Date: Fri Apr 25 01:21:42 2008
New Revision: 651531

URL: http://svn.apache.org/viewvc?rev=651531&view=rev
Log:
Fixed caught exception type in recovery


Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/broker/RecoveryManagerImpl.cpp

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/broker/RecoveryManagerImpl.cpp
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/RecoveryManagerImpl.cpp?rev=651531&r1=651530&r2=651531&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/broker/RecoveryManagerImpl.cpp 
(original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/broker/RecoveryManagerImpl.cpp Fri 
Apr 25 01:21:42 2008
@@ -24,6 +24,7 @@
 #include "Queue.h"
 #include "RecoveredEnqueue.h"
 #include "RecoveredDequeue.h"
+#include "qpid/framing/reply_exceptions.h"
 
 using namespace qpid;
 using namespace qpid::broker;
@@ -103,7 +104,7 @@
         if (exchange) {
             exchange->bind(queue, queue->getName(), 0);
         }
-    } catch (ChannelException& e) {
+    } catch (const framing::NotFoundException& e) {
         //assume no default exchange has been declared
     }
     return RecoverableQueue::shared_ptr(new RecoverableQueueImpl(queue));


Reply via email to