You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2009/02/13 07:13:44 UTC

svn commit: r744005 - /webservices/axis/trunk/c/src/common/AxisTrace.h

Author: nadiramra
Date: Fri Feb 13 06:13:44 2009
New Revision: 744005

URL: http://svn.apache.org/viewvc?rev=744005&view=rev
Log:
tracing macros...

Modified:
    webservices/axis/trunk/c/src/common/AxisTrace.h

Modified: webservices/axis/trunk/c/src/common/AxisTrace.h
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/common/AxisTrace.h?rev=744005&r1=744004&r2=744005&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/common/AxisTrace.h (original)
+++ webservices/axis/trunk/c/src/common/AxisTrace.h Fri Feb 13 06:13:44 2009
@@ -274,6 +274,13 @@
   } \
 }
 
+#define logThrowExceptionNoExit(lException) \
+{ \
+  if (loggingEnabled) { \
+      AxisTrace::writeTrace(logComponent, TRACE_TYPE_EXCEPT, logFunctionName, __LINE__, __FILE__, lException); \
+  } \
+}
+
 #define logThrowExceptionWithData(lException, lExceptionMessage) \
 { \
   if (loggingEnabled) { \
@@ -282,6 +289,14 @@
   } \
 }
 
+#define logThrowExceptionWithDataNoExit(lException, lExceptionMessage) \
+{ \
+  if (loggingEnabled) { \
+      AxisTrace::writeTrace(logComponent, TRACE_TYPE_EXCEPT, logFunctionName, __LINE__, __FILE__, "%s: %s", lException, lExceptionMessage); \
+  } \
+}
+
+
 #define logRethrowException() \
 { \
   if (loggingEnabled) { \