Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84063 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33327 invoked from network); 28 Feb 2015 01:21:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Feb 2015 01:21:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.15.19 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.15.19 mout.gmx.net Received: from [212.227.15.19] ([212.227.15.19:51093] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1A/61-32582-FF711F45 for ; Fri, 27 Feb 2015 20:21:05 -0500 Received: from [192.168.0.101] ([91.67.244.80]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LqhmM-1XoaQh3pek-00eLbr; Sat, 28 Feb 2015 02:20:53 +0100 Message-ID: <54F117FE.5030404@gmx.de> Date: Sat, 28 Feb 2015 02:21:02 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Sebastian Bergmann , internals@lists.php.net References: <54F07FC7.8050901@php.net> In-Reply-To: <54F07FC7.8050901@php.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:deFtRAnO4fG+KgIF0aMxlRB0NrwDdhQx7jr2nyW3Z+XMKWVEhq6 PFb+7PFFAW0Zb/wQvMcljve/+wqppm9tkXy8zyY4Vp/G1tYH41n0uYSJOWpXzp3I2Tcg9Pb WISaad7cfUomTmVHFW5qWgHZ1l2M5ppAVxNMnSI7brgAG418Ftr1e79g4qzpNhSTYqP1fdC jknaZfI4yMavE2VovQz9A== X-UI-Out-Filterresults: notjunk:1; Subject: Re: [PHP-DEV] [VOTE] Exceptions in the engine From: cmbecker69@gmx.de (Christoph Becker) Sebastian Bergmann wrote: > I am sorry that I was unable to raise this concern earlier (did not > really become aware of the RFC before it was put to the vote), but I > would prefer the following: > > * Introduce a Throwable interface > * Let Exception implement the Throwable interface > * Introduce an Error class that implements the Throwable interface > * Use Error class as base class for exceptions raised by the engine > > This would be along the lines of what Java does. Note, that a Throwable interface has been already brought up a while ago[1]. [1] -- Christoph M. Becker