Re: Exceptions disappear when thrown in callback

From: Date: Thu, 16 Mar 2006 19:18:26 +0000
Subject: Re: Exceptions disappear when thrown in callback
References: 1 2 3 4  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2635@lists.php.net to get a copy of this message
Andrei, > Correct, you can only catch exceptions if you place catch() { .. } > around Gtk::main(). Alternatively, I could possibly allow you to use > set_exception_handler() to provide custom handler.. As far as I understood: All we need is to quit the main loop when an exception occurs in a handler. Then PHP can continue with the right things. -- Regards/MfG, Christian Weiske

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.gtk.dev (#2635) next »