Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4409 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65860 invoked by uid 1010); 6 Sep 2003 05:33:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 65812 invoked from network); 6 Sep 2003 05:33:17 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 6 Sep 2003 05:33:17 -0000 Received: (qmail 24442 invoked from network); 6 Sep 2003 05:33:11 -0000 Received: from localhost (HELO andi-laptop.zend.com) (127.0.0.1) by localhost with SMTP; 6 Sep 2003 05:33:11 -0000 Message-ID: <5.1.0.14.2.20030906082904.036cf2d0@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 06 Sep 2003 08:32:15 +0300 To: Marcus =?iso-8859-1?Q?B=F6rger?= Cc: internals@lists.php.net In-Reply-To: <1011322145500.20030906004757@post.rwth-aachen.de> References: <1571295530546.20030905172421@post.rwth-aachen.de> <1571295530546.20030905172421@post.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Default exception handler From: andi@zend.com (Andi Gutmans) Hi Marcus, I implemented this functionality about a year ago (if I'm not mistaken it was part of the original ZE2 tree). The reason we removed it (IIRC) was that we thought it would lead to cleaner PHP code and would force only objects being thrown (although this can be done in other ways). I would like to keep things as-is because I think it's cleaner this way. Give the developer the benefit of the tought that he can design his Exception hierarchy in a good way, wether he inherits from our "Exception" class or from his own exception class. Andi