Red Hat Bugzilla – Bug 612283
The qpid::messaging API sometimes uses exceptions from the qpid:: namespace
Last modified: 2010-11-10 16:27:47 EST
+++ This bug was initially created as a clone of Bug #610156 +++
Description of problem:
There is at least one case in which an exception is thrown from the API that does not derive from qpid::messaging::MessagingException. This is an ABI problem.
Version-Release number of selected component (if applicable):
RHEL6 snapshot 7
Steps to Reproduce:
Use the following sequence in the C++ API:
using namespace qpid::messaging;
Connection conn = Connection("localhost");
Session sess = conn.createSession();
Because the connection is not open, the createSession call throws an exception (expected) but the exception is "qpid::Exception" (not expected).
I expect an exception derived from qpid::messaging::MessagingException
--- Additional comment from email@example.com on 2010-07-01 15:21:57 EDT ---
Fixed on trunk (r959721) and in release repo (http://mrg1.lab.bos.redhat.com/git/?p=qpid.git;a=commitdiff;h=9a005978daf378f235f2806a1e50eeb0dd44bd94).
Fixed in build qpid-cpp-0.7.946106-4.
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.