Re: Exceptions disappear when thrown in callback

From: Date: Wed, 15 Mar 2006 16:23:10 +0000
Subject: Re: Exceptions disappear when thrown in callback
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2617@lists.php.net to get a copy of this message
Christian Weiske wrote:
There is a real big problem with Exceptions and callbacks: If an exception is thrown while you are in a callback (e.g. when a button has been clicked), the php code stops executing, but no exception is shown (dumped to the console).
Have you tried set_exception_handler()? You should be able to catch the exceptions that way and then stop the loop yourself. -- Scott Mattocks http://www.crisscott.com

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