You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2008/08/16 21:25:52 UTC
[jira] Created: (AMQCPP-192) Add getCause to the CMS and Decaf
exception interfaces
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.
[jira] Resolved: (AMQCPP-192) Add getCause to the CMS and Decaf
exception interfaces
Posted by "Timothy Bish (JIRA)" <ji...@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.