Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17562 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97526 invoked by uid 1010); 6 Aug 2005 15:26:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 97511 invoked from network); 6 Aug 2005 15:26:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Aug 2005 15:26:21 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:38557] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id EC/36-04646-C96D4F24 for ; Sat, 06 Aug 2005 11:26:21 -0400 Received: (qmail 3375 invoked from network); 6 Aug 2005 15:27:11 -0000 Received: from internal.zend.office (HELO localhost) (10.1.1.1) by internal.zend.office with SMTP; 6 Aug 2005 15:27:11 -0000 Date: Sat, 6 Aug 2005 19:26:10 +0400 To: Dennis Sterzenbach Cc: internals@lists.php.net Message-ID: <20050806192610.4e7dd6bb.antony@zend.com> In-Reply-To: <55.45.04646.EE4D4F24@pb1.pair.com> References: <55.45.04646.EE4D4F24@pb1.pair.com> X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.4; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] (re)throwing exceptions From: antony@zend.com (Antony Dovgal) On Sat, 06 Aug 2005 17:19:35 +0200 Dennis Sterzenbach wrote: > Hi Folks! > > What do you think about re-throwing an Exception? > I think of a situation when writing a complex framework > and one call on a lower hierachy level throws an Exception, > the higher levels should be able to get to know. > If I have to catch it on a higher level, I can't leave the > caught Exception as is just adding my current context to the > stack trace. Is it what you need? -- Wbr, Antony Dovgal