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 sa...@apache.org on 2005/10/07 10:20:17 UTC
svn commit: r307049 - in
/webservices/axis2/trunk/c/modules/xml/guththila/src: guththila_token.c
guththila_xml_pull_parser.c
Author: samisa
Date: Fri Oct 7 01:20:09 2005
New Revision: 307049
URL: http://svn.apache.org/viewcvs?rev=307049&view=rev
Log:
Removed exit calls
Modified:
webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_token.c
webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c
Modified: webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_token.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_token.c?rev=307049&r1=307048&r2=307049&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_token.c (original)
+++ webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_token.c Fri Oct 7 01:20:09 2005
@@ -42,7 +42,9 @@
guththila_token_exception ()
{
printf ("Throws new token Exception");
- exit (0);
+ // Samisa : we should define the error code and error desctioption and return error code to user
+ // no use of using printf within a library
+ // please delete this comment once this is fixed.
}
Modified: webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c?rev=307049&r1=307048&r2=307049&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c (original)
+++ webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c Fri Oct 7 01:20:09 2005
@@ -65,7 +65,10 @@
guththila_xml_pull_parser_exception (char *file, int line)
{
printf ("Throws guththila_xml_pull_parser_exception \t %s \t %d \n", file, line);
- exit (0);
+ // Samisa: we should define a set of error codes and a corresponding error message set
+ // rather than printing the above line to the console, we should be appending the
+ // above string to the error message corresponding to the current error code
+ // please delete this comment once this is fixed
}