activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tab...@twcny.rr.com>
Subject Re: making ExceptionListener#onException behave based on Exception type
Date Mon, 25 Jun 2007 15:45:47 GMT
olivier.renaud@cantor.fr wrote:
> Timothy Bish <tabish@twcny.rr.com>:
>
>   
>> Have you tried casting the CMSException to the various types that you
>> want to handle?
>>     
>
> You mean, using a dynamic_cast ? dynamic_cast needs RTTI too, I think, so the
> problem is the same than using typeid.
>
>   

Not sure what your trepidation is in using RTTI, AMQCPP wouldn't be able 
to work without it, its a pretty standard tool set in C++ at this 
point.  I don't know what to tell you if you can't use RTTI.

Mime
View raw message