You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2004/05/20 10:11:28 UTC

cvs commit: ws-axis/c/samples/server/rpcfault Makefile.am AxisDivByZeroException.cpp

damitha     2004/05/20 01:11:28

  Modified:    c/samples/client configure.ac
               c/samples/client/rpcfault Makefile.am
               c/samples/server configure.ac
               c/samples/server/rpcfault AxisDivByZeroException.cpp
  Added:       c/samples/server/rpcfault Makefile.am
  Log:
  
  
  Revision  Changes    Path
  1.17      +1 -1      ws-axis/c/samples/client/configure.ac
  
  Index: configure.ac
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/client/configure.ac,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- configure.ac	19 May 2004 06:03:46 -0000	1.16
  +++ configure.ac	20 May 2004 08:11:28 -0000	1.17
  @@ -8,4 +8,4 @@
   AC_PROG_CXX
   AC_PROG_INSTALL
   AC_PROG_LIBTOOL
  -AC_OUTPUT(Makefile interoptests/Makefile interoptests/base/Makefile interoptests/cbase/Makefile interoptests/groupB/Makefile interoptests/cgroupB/Makefile interoptests/doclitbase/Makefile interoptests/doclitgroupB/Makefile simple/Makefile)
  +AC_OUTPUT(Makefile interoptests/Makefile interoptests/base/Makefile interoptests/cbase/Makefile interoptests/groupB/Makefile interoptests/cgroupB/Makefile interoptests/doclitbase/Makefile interoptests/doclitgroupB/Makefile simple/Makefile rpcfault/Makefile)
  
  
  
  1.2       +3 -1      ws-axis/c/samples/client/rpcfault/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/client/rpcfault/Makefile.am,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Makefile.am	18 May 2004 11:19:02 -0000	1.1
  +++ Makefile.am	20 May 2004 08:11:28 -0000	1.2
  @@ -1,6 +1,8 @@
   bin_PROGRAMS = mathops
   SUBDIRS =
   AM_CPPFLAGS = $(CPPFLAGS)
  -mathops_SOURCES = MathOps.cpp MathOpsClient.cpp
  +mathops_SOURCES = MathOps.cpp \
  +                  MathOpsClient.cpp \
  +                  SOAPStructFault.cpp \
   mathops_LDADD   =  $(LDFLAGS)
   INCLUDES = -I$(AXISCPP_HOME)/include
  
  
  
  1.11      +1 -1      ws-axis/c/samples/server/configure.ac
  
  Index: configure.ac
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/server/configure.ac,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- configure.ac	19 May 2004 06:03:47 -0000	1.10
  +++ configure.ac	20 May 2004 08:11:28 -0000	1.11
  @@ -8,4 +8,4 @@
   AC_PROG_CXX
   AC_PROG_INSTALL
   AC_PROG_LIBTOOL
  -AC_OUTPUT(Makefile interoptests/Makefile interoptests/base/Makefile interoptests/cbase/Makefile interoptests/groupB/Makefile interoptests/cgroupB/Makefile interoptests/doclitbase/Makefile interoptests/doclitgroupB/Makefile simple/Makefile)
  +AC_OUTPUT(Makefile interoptests/Makefile interoptests/base/Makefile interoptests/cbase/Makefile interoptests/groupB/Makefile interoptests/cgroupB/Makefile interoptests/doclitbase/Makefile interoptests/doclitgroupB/Makefile simple/Makefile rpcfault/Makefile)
  
  
  
  1.2       +5 -1      ws-axis/c/samples/server/rpcfault/AxisDivByZeroException.cpp
  
  Index: AxisDivByZeroException.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/server/rpcfault/AxisDivByZeroException.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AxisDivByZeroException.cpp	18 May 2004 10:14:02 -0000	1.1
  +++ AxisDivByZeroException.cpp	20 May 2004 08:11:28 -0000	1.2
  @@ -30,7 +30,11 @@
   
   AxisDivByZeroException::AxisDivByZeroException()
   {
  -    m_sMessage = "";
  +    /* This only serves the pupose of indicating that the 
  +     * service has thrown an excpetion
  +     */
  +    m_iExceptionCode = AXISC_SERVICE_THROWN_EXCEPTION;
  +    processException(m_iExceptionCode);
   }
   
   AxisDivByZeroException::AxisDivByZeroException (int iExceptionCode)
  
  
  
  1.1                  ws-axis/c/samples/server/rpcfault/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  lib_LTLIBRARIES = libmathops.la
  SUBDIRS =
  libmathops_la_SOURCES = MathOps.cpp \
                          MathOpsWrapper.cpp \
                          MathOpsService.cpp \
                          SOAPStructFault.cpp \
                          AxisDivByZeroException.cpp
  libmathops_la_LIBADD   = $(LDFLAGS)
  
  INCLUDES = -I$(AXISCPP_HOME)/include