Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:182 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93056 invoked from network); 23 Mar 2003 15:26:46 -0000 Received: from unknown (HELO carmine.bestweb.net) (209.94.102.73) by pb1.pair.com with SMTP; 23 Mar 2003 15:26:46 -0000 Received: from [192.168.1.100] (unknown [216.179.71.153]) by carmine.bestweb.net (Postfix) with ESMTP id BA21624143; Sun, 23 Mar 2003 10:26:50 -0500 (EST) To: Stanislav Malyshev Cc: Sebastian Bergmann , internals@lists.php.net In-Reply-To: References: Content-Type: text/plain Organization: Message-ID: <1048432076.848.2130.camel@hasele> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 23 Mar 2003 10:07:57 -0500 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Throwable interface From: sterling@bumblebury.com (Sterling Hughes) On Sun, 2003-03-23 at 10:24, Stanislav Malyshev wrote: > SB>> The lack of a common interface of thrown exceptions hinders the > SB>> development of applications like PHPUnit that need to be able to > SB>> work with *every* possible exception. > > Don't we have a way to catch any exception in the language yet? > If you want to catch any exception, just require people to define their exceptions as extending the "exception" class, if they wish to use phpunit. We shouldn't have an engine-level straightjacket on exceptions (more of a response to sebastian's mail than to stas'). -Sterling > -- > Stanislav Malyshev, Zend Products Engineer > stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109 -- "Whether you think you can or think you can't -- you are right." - Henry Ford