activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <>
Subject Re: making ExceptionListener#onException behave based on Exception type
Date Mon, 25 Jun 2007 15:45:47 GMT wrote:
> Timothy Bish <>:
>> 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.

View raw message