Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:184 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97011 invoked from network); 23 Mar 2003 15:35:16 -0000 Received: from unknown (HELO mailout02.sul.t-online.com) (194.25.134.17) by pb1.pair.com with SMTP; 23 Mar 2003 15:35:16 -0000 Received: from fwd00.sul.t-online.de by mailout02.sul.t-online.com with smtp id 18x7Uv-0006RU-05; Sun, 23 Mar 2003 16:34:57 +0100 Received: from baumbart.post.rwth-aachen.de (520072483730-0001@[80.142.156.113]) by fwd00.sul.t-online.com with esmtp id 18x7Ur-1dgWIaC; Sun, 23 Mar 2003 16:34:53 +0100 Reply-to:marcus.boerger@post.rwth-aachen.de Message-ID: <5.1.0.14.2.20030323163246.02659a30@pop.t-online.de> X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 23 Mar 2003 16:34:52 +0100 To: Stanislav Malyshev Cc: Sebastian Bergmann ,internals@lists.php.net In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Sender: 520072483730-0001@t-dialin.net Subject: Re: [PHP-DEV] Re: Throwable interface From: marcus.boerger@t-online.de ((Marcus =?iso-8859-1?Q?B=F6rger?=)) References: At 16:24 23.03.2003, 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? For me it sounds like Sebastian wants to write only one catch handler but that's not the point of designing with exceptions. Also the base class concept Sterling did is much more powerfull than an interface based concept. Simply because a user designed class cannot access the source information in such a good way than the base class can. marcus