On Thu, 2005-09-29 at 16:04 +0600, Dinesh Premalal wrote:
> 
> Guththila throws  Xml_PullParser_Exception  ()  on errors  that  code
> is  
> 
> PRIVATE int 
> XML_PullParser_Exception (char *file, int line)
> {
>   printf ("Throws XML_PullParser_Exception \t %s \t %d \n", file, line);
>   exit (0);
> }
> Which 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. 

As a util library, under *NO* condition should Guththila ever call
exit()! Let's agree on an error no convention and use that instead.
Also, we need to set up a log mechanism (did log4c ship yet? maybe APR
has logging capabilities).

Sanjiva.



Reply via email to