You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2007/11/27 08:32:53 UTC

svn commit: r598541 - /webservices/axis2/trunk/c/src/core/clientapi/stub.c

Author: dinesh
Date: Mon Nov 26 23:32:52 2007
New Revision: 598541

URL: http://svn.apache.org/viewvc?rev=598541&view=rev
Log:
removed error codes since they over rides more important (i.e. meaningful and appropiate) error codes at lower level.

Modified:
    webservices/axis2/trunk/c/src/core/clientapi/stub.c

Modified: webservices/axis2/trunk/c/src/core/clientapi/stub.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/clientapi/stub.c?rev=598541&r1=598540&r2=598541&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/clientapi/stub.c (original)
+++ webservices/axis2/trunk/c/src/core/clientapi/stub.c Mon Nov 26 23:32:52 2007
@@ -60,7 +60,6 @@
 
     if (!stub)
     {
-        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     /* create service_client */
@@ -69,7 +68,6 @@
     if (!stub->svc_client)
     {
         axis2_stub_free(stub, env);
-        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     /* create options */
@@ -77,7 +75,6 @@
     if (!stub->options)
     {
         axis2_stub_free(stub, env);
-        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     /* Set service client options */
@@ -111,7 +108,6 @@
 
     if (!stub)
     {
-        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org