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 2007/11/08 16:26:25 UTC
svn commit: r593194 - in
/activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang: Exception.cpp
Exception.h
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 );
};