> On 21/03/06, Jon S. Berndt <[EMAIL PROTECTED]> wrote:
> 
> > The exception sg_io_throws are a result of a problem in parsing. I've
> > replaced those in our local copy of easyxml.cxx with error message
> > printouts (cerr <<), thus reducing our dependence on specific external
> > exception classes. If these cerr statements are executed, its indicates
> > there are already problems - it's not the fault of the code, but of the
> > input. Appropriate messages are (hopefully) printed.
> 
> As others have mentioned, you might want to add return statements to
> replace the exception throws -- the code assumes that the method call
> will terminate at those points.
> 
> David

I could do that. But, should I abort() or exit() instead?

Jon



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to