logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Exceptions disappear when thrown in callback: msg#00168

Subject: Re: Exceptions disappear when thrown in callback
Yes, we could do that too. Unless there are nested main loops happening..

-Andrei

On Mar 16, 2006, at 11:18 AM, Christian Weiske wrote:

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

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>