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 2011/11/07 22:58:34 UTC

svn commit: r1198965 - in /activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main: activemq/exceptions/ExceptionDefines.h decaf/lang/exceptions/ExceptionDefines.h

Author: tabish
Date: Mon Nov  7 21:58:34 2011
New Revision: 1198965

URL: http://svn.apache.org/viewvc?rev=1198965&view=rev
Log:
backport of https://issues.apache.org/jira/browse/AMQCPP-373

Modified:
    activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/activemq/exceptions/ExceptionDefines.h
    activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/decaf/lang/exceptions/ExceptionDefines.h

Modified: activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/activemq/exceptions/ExceptionDefines.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/activemq/exceptions/ExceptionDefines.h?rev=1198965&r1=1198964&r2=1198965&view=diff
==============================================================================
--- activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/activemq/exceptions/ExceptionDefines.h (original)
+++ activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/activemq/exceptions/ExceptionDefines.h Mon Nov  7 21:58:34 2011
@@ -26,7 +26,7 @@
 #define AMQ_CATCH_RETHROW( type ) \
     catch( type& ex ){ \
         ex.setMark( __FILE__, __LINE__ ); \
-        throw ex; \
+        throw; \
     }
 
 /**

Modified: activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/decaf/lang/exceptions/ExceptionDefines.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/decaf/lang/exceptions/ExceptionDefines.h?rev=1198965&r1=1198964&r2=1198965&view=diff
==============================================================================
--- activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/decaf/lang/exceptions/ExceptionDefines.h (original)
+++ activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/decaf/lang/exceptions/ExceptionDefines.h Mon Nov  7 21:58:34 2011
@@ -27,7 +27,7 @@
 #define DECAF_CATCH_RETHROW( type ) \
     catch( type& ex ){ \
         ex.setMark( __FILE__, __LINE__ ); \
-        throw ex; \
+        throw; \
     }
 
 /**