Bug 612283 - The qpid::messaging API sometimes uses exceptions from the qpid:: namespace
The qpid::messaging API sometimes uses exceptions from the qpid:: namespace
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qpid-cpp (Show other bugs)
6.0
All Linux
urgent Severity medium
: rc
: ---
Assigned To: Kim van der Riet
MRG Quality Engineering
:
Depends On: 610156
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-07 14:48 EDT by Ted Ross
Modified: 2010-11-10 16:27 EST (History)
4 users (show)

See Also:
Fixed In Version: qpid-cpp-0.7.946106-4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 610156
Environment:
Last Closed: 2010-11-10 16:27:47 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ted Ross 2010-07-07 14:48:38 EDT
+++ 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


How reproducible:

100%

Steps to Reproduce:

Use the following sequence in the C++ API:

  using namespace qpid::messaging;

  Connection conn = Connection("localhost");
  Session    sess = conn.createSession();

  
Actual results:

Because the connection is not open, the createSession call throws an exception (expected) but the exception is "qpid::Exception" (not expected).


Expected results:

I expect an exception derived from qpid::messaging::MessagingException

--- Additional comment from gsim@redhat.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).
Comment 3 Kim van der Riet 2010-07-15 07:20:47 EDT
Fixed in build qpid-cpp-0.7.946106-4.
Comment 5 releng-rhel@redhat.com 2010-11-10 16:27:47 EST
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.

Note You need to log in before you can comment on or make changes to this bug.