activemq-dev mailing list archives

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

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

Brian McKinnon updated AMQCPP-264:
----------------------------------

    Attachment: CMSExceptionWhat.diff

Added what() function to CMSException.

> 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
>         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