Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 83197 invoked from network); 23 Aug 2008 14:11:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Aug 2008 14:11:13 -0000 Received: (qmail 87178 invoked by uid 500); 23 Aug 2008 14:11:12 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 87145 invoked by uid 500); 23 Aug 2008 14:11:11 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 87126 invoked by uid 99); 23 Aug 2008 14:11:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Aug 2008 07:11:11 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Aug 2008 14:10:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A1461234C1B1 for ; Sat, 23 Aug 2008 07:10:52 -0700 (PDT) Message-ID: <1108950677.1219500652659.JavaMail.jira@brutus> Date: Sat, 23 Aug 2008 07:10:52 -0700 (PDT) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQCPP-192) Add getCause to the CMS and Decaf exception interfaces In-Reply-To: <2041287470.1218914752572.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQCPP-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish resolved AMQCPP-192. --------------------------------- Resolution: Fixed Resolved in SVN Rev: 688327 > Add getCause to the CMS and Decaf exception interfaces > ------------------------------------------------------ > > Key: AMQCPP-192 > URL: https://issues.apache.org/activemq/browse/AMQCPP-192 > Project: ActiveMQ C++ Client > Issue Type: Improvement > Components: CMS Impl, Decaf > Affects Versions: 2.2 > Reporter: Timothy Bish > Assignee: Timothy Bish > Priority: Minor > Fix For: 2.2.1 > > > Since the ActiveMQ-CPP code node only throws exceptions of type ActiveMQException out of the client code the user can no longer cast the exceptions to a type on the Decaf hierarchy. Adding a getCause method to the exception interfaces would allow us to carry only the decaf exceptions, we would return them as std::exception's since CMS and Decaf's exception classes both inherit from std::exception. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.