[PEPr] Comment on Gtk2 Components::Gtk2_ExceptionDump

From: Date: Fri, 28 Jul 2006 12:32:10 +0000
Subject: [PEPr] Comment on Gtk2 Components::Gtk2_ExceptionDump
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-43584@lists.php.net to get a copy of this message
Scott Mattocks (http://pear.php.net/user/scottmattocks) has commented on the proposal for Gtk2 Components::Gtk2_ExceptionDump. Comment: This is a nice class. It will definitely help with error reporting in PHP-GTK 2 apps. A few requests: - Create a static method that can be called to popup the window: try { ... } catch (Exception $e) { require_once 'Gtk2/ExceptionDump.php'; Gtk2_ExceptionDump::display($e); } - Add a way to easily set the static method as the exception handler: public static function setAsExcpetionHandler() { set_exception_hanlder(array('Gtk2_ExceptionDump', 'display')); } Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=430 -- Sent by PEPr, the automatic proposal system at http://pear.php.net

« previous php.pear.dev (#43584) next »