#29495 [Opn->Sus]: New DOM and XSL classes should throw exceptions.

From: Date: Tue, 03 Aug 2004 08:01:01 +0000
Subject: #29495 [Opn->Sus]: New DOM and XSL classes should throw exceptions.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-63999@lists.php.net to get a copy of this message
ID: 29495 Updated by: chregu@php.net Reported By: tony at marston-home dot demon dot co dot uk -Status: Open +Status: Suspended Bug Type: Feature/Change Request Operating System: * PHP Version: 5.0.0 New Comment: PHP 5.1 will have new error handling functionality (nothing written yet, but will almost certainly not use try/catch but error handler callbacks) You have to wait for that... Previous Comments: ------------------------------------------------------------------------ [2004-08-02 18:15:39] tony at marston-home dot demon dot co dot uk Description: ------------ I have just started using the new DOM and XSL classes in PHP5, and one thing I really find annoying is the difficulty in trapping errors. I tried to use the new try... catch... syntax but this does not work. I have worked out another way of detecting errors from these two classes, but it is very messy. Can they be changed to use the new try...cath... syntax? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29495&edit=1

« previous php.bugs (#63999) next »