You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2009/04/01 17:42:42 UTC

svn commit: r760927 - /activemq/activemq-cpp/branches/activemq-cpp-2.x/src/examples/main.cpp

Author: tabish
Date: Wed Apr  1 15:42:41 2009
New Revision: 760927

URL: http://svn.apache.org/viewvc?rev=760927&view=rev
Log:
Added a printStackTrace to the consumer's onException method.

Modified:
    activemq/activemq-cpp/branches/activemq-cpp-2.x/src/examples/main.cpp

Modified: activemq/activemq-cpp/branches/activemq-cpp-2.x/src/examples/main.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/branches/activemq-cpp-2.x/src/examples/main.cpp?rev=760927&r1=760926&r2=760927&view=diff
==============================================================================
--- activemq/activemq-cpp/branches/activemq-cpp-2.x/src/examples/main.cpp (original)
+++ activemq/activemq-cpp/branches/activemq-cpp-2.x/src/examples/main.cpp Wed Apr  1 15:42:41 2009
@@ -288,6 +288,7 @@
     // registered as an ExceptionListener with the connection.
     virtual void onException( const CMSException& ex AMQCPP_UNUSED) {
         printf("CMS Exception occurred.  Shutting down client.\n");
+        ex.printStackTrace();
         exit(1);
     }