Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86742 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70768 invoked from network); 18 Jun 2015 05:58:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jun 2015 05:58:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=sebastian@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=sebastian@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 93.190.64.238 as permitted sender) X-PHP-List-Original-Sender: sebastian@php.net X-Host-Fingerprint: 93.190.64.238 mail-2.de-punkt.de Received: from [93.190.64.238] ([93.190.64.238:35417] helo=mail-99.de-punkt.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/E2-46946-31E52855 for ; Thu, 18 Jun 2015 01:58:44 -0400 Received: from localhost (localhost [127.0.0.1]) by mail-99.de-punkt.de (Postfix) with ESMTP id A8D463A164 for ; Thu, 18 Jun 2015 07:58:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail-2.de-punkt.de Received: from mail-99.de-punkt.de ([127.0.0.1]) by localhost (mail-2.de-punkt.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id omf3G2VyWQBL for ; Thu, 18 Jun 2015 07:58:39 +0200 (CEST) Received: from [192.168.178.24] (p54BBA6FB.dip0.t-ipconnect.de [84.187.166.251]) (Authenticated sender: php@sebastian-bergmann.de) by mail-99.de-punkt.de (Postfix) with ESMTPSA id 79E463A01A for ; Thu, 18 Jun 2015 07:58:39 +0200 (CEST) Message-ID: <55825E0F.2030604@php.net> Date: Thu, 18 Jun 2015 07:58:39 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC - making the Exception class abstract From: sebastian@php.net (Sebastian Bergmann) Am 17.06.2015 um 23:30 schrieb Anthony Ferrara: > Instead, I think we should solve the problem with education. Perhaps > the documentation can better detail out why devs shouldn't directly > throw exception but instead use typed exceptions...? I remember "all hell breaking lose" when I disallowed expecting the generic Exception in PHPUnit years ago. In the end I gave up on education and reverted. :-(