activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: CMSExceptions
Date Sat, 09 Aug 2008 23:46:30 GMT
The architecture of the C++ client has changed such that the
CMSException won't be castable to an exception type from the decaf
package since we don't want to tie the CMS code to libraries that
someone else implementing a CMS client might not want to use.  That
being said it would probably make sense at this point to add something
like a getCause method like the Java Exception class to the CMSException
and the Decaf Exception classes so that we can pass the cause exception
along as a C++ exception instance since both inherit from that class.  

I've finally had a chance to generate the 2.2 API docs and upload them
to the CMS website, they should be visible now from the API page, here:
http://activemq.apache.org/cms/api.html.  For future reference the
autotools generated make target for creating the doxygen docs isn't
'make doxygen', its 'make doxygen-run' this is documented on the
Building page, here: http://activemq.apache.org/cms/building.html

Regards
Tim

On Tue, 2008-08-05 at 11:30 -0700, fredrick255 wrote:
> I am trying to handle specific exceptions in activemq-cpp 2.2. For example, I
> would like to catch the SocketException that occurs when the client fails to
> connect to the broker upon connectionFactory->createConnection(...). The
> structure that would allow me to cast the CMSException to a more specific
> exception seems to no longer exist 
> (http://activemq.apache.org/cms/api_docs/activemqcpp-2.1/classactivemq_1_1exceptions_1_1_active_m_q_exception.html).
> 
> Does anyone know if the 2.2 API documentation is posted anywhere because it
> is not posted with the other api documentation. When I try: make doxygen-run
> I get make: *** No rule to make target `doxygen-run'.  Stop.
> 
> 
> Any ideas?
> 
> 
> Thanks,
> Fredrick


Mime
View raw message