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.