axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject cvs commit: ws-axis/c/include/axis/server AxisException.h
Date Tue, 18 May 2004 10:32:38 GMT
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
   
  
  
  

Mime
View raw message