activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r593194 - in /activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang: Exception.cpp Exception.h
Date Thu, 08 Nov 2007 15:26:25 GMT
Author: tabish
Date: Thu Nov  8 07:26:24 2007
New Revision: 593194

URL: http://svn.apache.org/viewvc?rev=593194&view=rev
Log:
http://issues.apache.org/activemq/browse/AMQCPP-103

Modified:
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Exception.cpp
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Exception.h

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Exception.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Exception.cpp?rev=593194&r1=593193&r2=593194&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Exception.cpp (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Exception.cpp Thu Nov  8 07:26:24
2007
@@ -104,6 +104,13 @@
 }
 
 ////////////////////////////////////////////////////////////////////////////////
+void Exception::setStackTrace(
+    const std::vector< std::pair< std::string, int> >& trace ) {
+
+    this->stackTrace = trace;
+}
+
+////////////////////////////////////////////////////////////////////////////////
 void Exception::printStackTrace() const {
     printStackTrace( std::cerr );
 }

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Exception.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Exception.h?rev=593194&r1=593193&r2=593194&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Exception.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Exception.h Thu Nov  8 07:26:24
2007
@@ -141,6 +141,9 @@
 
     protected:
 
+        virtual void setStackTrace(
+            const std::vector< std::pair< std::string, int> >& trace );
+
         virtual void buildMessage( const char* format, va_list& vargs );
 
    };



Mime
View raw message