activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sodan <so...@sodan.dk>
Subject Re: CMS getString throws exception if string is empty ?
Date Thu, 12 Aug 2010 17:56:59 GMT

Windows 7
Visual Studio 2010

Søren



Timothy Bish wrote:
> 
> On Thu, 2010-08-12 at 08:50 -0700, Sodan wrote:
>> example:
>> 
>> try {
>> string xx = map->getString("myString");
>> return xx;
>> }
>> catch (...) {
>> // failed
>> MessageBeep(-1);
>> }
>> 
>> 
>> if the field myString in the message is empty (ie. ""), then it throws an
>> exception.
>> 
>> I am using 3.2.2
>> 
>> please help with a fix asap !
>> Søren
>> 
> 
> Can you provide a short but complete sample app that reproduces the
> problem as well as document what OS / Compiler you are using?  Opeing a
> Jira issue would be best.
> 
> Regards
> 
> -- 
> Tim Bish
> 
> Open Source Integration: http://fusesource.com
> ActiveMQ in Action: http://www.manning.com/snyder/
> 
> Follow me on Twitter: http://twitter.com/tabish121
> My Blog: http://timbish.blogspot.com/
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/CMS-getString-throws-exception-if-string-is-empty---tp29420197p29421484.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message