Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9050 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43123 invoked by uid 1010); 12 Apr 2004 05:37:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 42951 invoked from network); 12 Apr 2004 05:37:18 -0000 Received: from unknown (HELO coogle.localdomain) (68.61.83.224) by pb1.pair.com with SMTP; 12 Apr 2004 05:37:18 -0000 Received: from coogle.localdomain (coogle.localdomain [127.0.0.1]) by coogle.localdomain (8.12.8/8.12.8) with ESMTP id i3C5fXHY001365; Mon, 12 Apr 2004 01:41:33 -0400 Received: (from john@localhost) by coogle.localdomain (8.12.8/8.12.8/Submit) id i3C5fWsv001363; Mon, 12 Apr 2004 01:41:32 -0400 X-Authentication-Warning: coogle.localdomain: john set sender to john@coggeshall.org using -f Reply-To: john@coggeshall.org To: Adam Maccabee Trachtenberg Cc: PHP Internals In-Reply-To: References: <1081740243.14476.11.camel@coogle.localdomain> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-ID: <1081748492.1359.0.camel@coogle.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 12 Apr 2004 01:41:32 -0400 Subject: Re: [PHP-DEV] Exceptions and Errors From: john@coggeshall.org (John Coggeshall) On Mon, 2004-04-12 at 01:27, Adam Maccabee Trachtenberg wrote: > 1) None (almost none?) of the internal classes use exceptions. This > makes it difficult (if not impossible) to explain how to use > exceptions because you cannot show a meaningful example. As of today, Tidy throws Exceptions in a object context. > It's really crazy to need to mix both types of error handling within > the same block of code. Completely agree -- -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=- John Coggeshall http://www.coggeshall.org/ The PHP Developer's Handbook http://www.php-handbook.com/ -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-