Re: Exceptions disappear when thrown in callback

From: Date: Fri, 17 Mar 2006 16:47:10 +0000
Subject: Re: Exceptions disappear when thrown in callback
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2643@lists.php.net to get a copy of this message
Hi all, >> No, I don't have a better idea but just killing the main loop seems kind >> of harsh to me. > Throwing an unhandled exception is harsh itself. The programmer is > responsible to take care of that, and if there was no main loop, the > program would crash, too. But we do have a main loop, and if we can do something about it, why not? I still think that Scott's idea of connecting a callback to the set_exception_handler() to atleast give a chance for the developer to quit the application cleanly in case an unhandled exception is encountered is reasonable enough to implement. Thanks and Regards, -- Anant Find Freedom, Go Open Source! http://www.kix.in/

« previous php.gtk.dev (#2643) next »