On 9/29/05, Samisa Abeysinghe <[EMAIL PROTECTED]> wrote:
At the moment, it guththila returns -1 on all errors,
Guththila throws Xml_PullParser_Exception () on errors that code is
PRIVATE intWhich says file and line number when an error occured. I think that is enough for identify the error that throwed exception. This Xml_PullParser_Exception function defined in xmlpullparser.c file. Please have a look on it.
XML_PullParser_Exception (char *file, int line)
{
printf ("Throws XML_PullParser_Exception \t %s \t %d \n", file, line);
exit (0);
}
thanks,
Dinesh
however we may
need more comprehensive error returns to be more specific on the kind of
error.
Axis Axis2C we havee:
https://svn.apache.org/repos/asf/webservices/axis2/trunk/c/include/axis2c_errno.h
Well, we difne our error number space relative to APR as we use APR,
but
guththila may need not do that.
Thanks,
Samisa...
--
W.Dinesh Premalal
[EMAIL PROTECTED]
http://www.cse.mrt.ac.lk/~premalwd/
