axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ros...@apache.org
Subject cvs commit: ws-axis/c/src/wsdd WSDDDeployment.cpp AxisWsddException.cpp
Date Thu, 29 Jul 2004 12:47:03 GMT
roshan      2004/07/29 05:47:03

  Modified:    c/src/wsdd WSDDDeployment.cpp AxisWsddException.cpp
  Log:
  Adding a error code. This patch was submited by Lahiru
  
  Revision  Changes    Path
  1.39      +3 -2      ws-axis/c/src/wsdd/WSDDDeployment.cpp
  
  Index: WSDDDeployment.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdd/WSDDDeployment.cpp,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- WSDDDeployment.cpp	15 Jul 2004 11:27:00 -0000	1.38
  +++ WSDDDeployment.cpp	29 Jul 2004 12:47:03 -0000	1.39
  @@ -107,9 +107,10 @@
       WSDDDocument* doc = new WSDDDocument(m_pLibNameIdMap);
       if (AXIS_SUCCESS != doc->getDeployment(sWSDD, this))
       {
  -            printf("wsdd loading failed\n");
  +        //printf("wsdd loading failed\n");
           delete doc;
  -        return AXIS_FAIL;
  +        //return AXIS_FAIL;
  +        throw AxisWsddException(SERVER_WSDD_FILE_NOT_FOUND);
       }
   #ifdef _DEBUG
       printf("wsdd loading successful\n");
  
  
  
  1.13      +4 -1      ws-axis/c/src/wsdd/AxisWsddException.cpp
  
  Index: AxisWsddException.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdd/AxisWsddException.cpp,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- AxisWsddException.cpp	6 Jul 2004 14:16:48 -0000	1.12
  +++ AxisWsddException.cpp	29 Jul 2004 12:47:03 -0000	1.13
  @@ -102,7 +102,10 @@
               break;
           case CLIENT_WSDD_PARA_TYPE_MISMATCH:
               m_sMessage = "AxisWsddException:Parameter type mismatch";
  -            break; 
  +            break;
  +		case SERVER_WSDD_FILE_NOT_FOUND:
  +			m_sMessage = "AxisWsddException:WSDD loading fail";
  +			break;
           case SERVER_WSDD_NO_HANDLERS_CONFIGURED:
               m_sMessage = "AxisWsddException:No handlers configured in server.wsdd";
               break;
  
  
  

Mime
View raw message