activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQCPP-264) Added what() to CMSException
Date Tue, 20 Oct 2009 18:03:52 GMT

     [ https://issues.apache.org/activemq/browse/AMQCPP-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Timothy Bish updated AMQCPP-264:
--------------------------------

    Fix Version/s: 3.1

> Added what() to CMSException
> ----------------------------
>
>                 Key: AMQCPP-264
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-264
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>          Components: CMS Impl
>    Affects Versions: 3.0.1
>         Environment: Tested in MSVC.
>            Reporter: Brian McKinnon
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: CMSExceptionWhat.diff
>
>
> While trying to track down an error I noticed that the exceptions kept returning "Unknown
Exception".  The CMSException was inheriting std::exception but not overloading the what()
operator, so no information could be extracted without knowing about CMSException.  To fix
the issue and return useful error messages I overloaded the what() function inside CMSException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message