Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 99785 invoked from network); 18 May 2004 10:32:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 May 2004 10:32:43 -0000 Received: (qmail 69454 invoked by uid 500); 18 May 2004 10:32:40 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 69422 invoked by uid 500); 18 May 2004 10:32:39 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 69390 invoked by uid 98); 18 May 2004 10:32:39 -0000 Received: from damitha@apache.org by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(209.237.227.194):. Processed in 0.111119 secs); 18 May 2004 10:32:39 -0000 X-Qmail-Scanner-Mail-From: damitha@apache.org via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(209.237.227.194):. Processed in 0.111119 secs) Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by hermes.apache.org with SMTP; 18 May 2004 10:32:39 -0000 Received: (qmail 99766 invoked by uid 1683); 18 May 2004 10:32:39 -0000 Date: 18 May 2004 10:32:38 -0000 Message-ID: <20040518103238.99765.qmail@minotaur.apache.org> From: damitha@apache.org To: ws-axis-cvs@apache.org Subject: cvs commit: ws-axis/c/include/axis/server AxisException.h X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N damitha 2004/05/18 03:32:38 Modified: c/include/axis/server AxisException.h Log: Revision Changes Path 1.9 +19 -1 ws-axis/c/include/axis/server/AxisException.h Index: AxisException.h =================================================================== RCS file: /home/cvs/ws-axis/c/include/axis/server/AxisException.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- AxisException.h 18 May 2004 09:47:24 -0000 1.8 +++ AxisException.h 18 May 2004 10:32:38 -0000 1.9 @@ -52,11 +52,29 @@ #define THROW_AXIS_IOS_BASE_FAILURE(X) throw std::ios_base::failure #define AXISC_THROW_SAME throw; + #else + #define AXISC_TRY #define AXISC_CATCH(X) #define AXISC_ENDCATCH -#define AXISC_THROW(X) return X + +#define THROW_AXIS_EXCEPTION(X) throw AxisException(X) return X +#define THROW_AXIS_CONFIG_EXCEPTION(X) throw AxisConfigException(X) return X +#define THROW_AXIS_SOAP_EXCEPTION(X) throw AxisSoapException(X) return X +#define THROW_AXIS_WSDD_EXCEPTION(X) throw AxisWsddException(X) return X +#define THROW_AXIS_ENGINE_EXCEPTION(X) throw AxisEngineException(X) return X +#define THROW_AXIS_TRANSPORT_EXCEPTION(X) throw AxisTransportException(X) return X + +#define THROW_AXIS_BAD_ALLOC() +#define THROW_AXIS_BAD_CAST() +#define THROW_AXIS_BAD_TYPEID() +#define THROW_AXIS_BAD_EXCEPTION() +#define THROW_AXIS_OUT_OF_RANGE(X) +#define THROW_AXIS_INVALID_ARGUMENT(X) +#define THROW_AXIS_OVERFLOW_ERROR(X) +#define THROW_AXIS_IOS_BASE_FAILURE(X) + #define AXISC_THROW_SAME #endif