Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 75849 invoked from network); 13 Feb 2009 06:14:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2009 06:14:05 -0000 Received: (qmail 30746 invoked by uid 500); 13 Feb 2009 06:14:05 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 30620 invoked by uid 500); 13 Feb 2009 06:14:05 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 30611 invoked by uid 99); 13 Feb 2009 06:14:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 22:14:04 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2009 06:14:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5F95F2388A9A; Fri, 13 Feb 2009 06:13:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r744005 - /webservices/axis/trunk/c/src/common/AxisTrace.h Date: Fri, 13 Feb 2009 06:13:44 -0000 To: axis-cvs@ws.apache.org From: nadiramra@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090213061344.5F95F2388A9A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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) { \