Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83636 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17135 invoked from network); 24 Feb 2015 07:28:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Feb 2015 07:28:29 -0000 Authentication-Results: pb1.pair.com header.from=pajousek@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pajousek@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.169 as permitted sender) X-PHP-List-Original-Sender: pajousek@gmail.com X-Host-Fingerprint: 209.85.216.169 mail-qc0-f169.google.com Received: from [209.85.216.169] ([209.85.216.169:38235] helo=mail-qc0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 90/91-09240-9182CE45 for ; Tue, 24 Feb 2015 02:28:26 -0500 Received: by qcvx3 with SMTP id x3so2588817qcv.5 for ; Mon, 23 Feb 2015 23:28:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OuVvWiMnyZ9zpzFU7T6P9Nl8diM1ELigSoZMIV/+XYE=; b=dY1KaWlpDZKxMmKIuG5WfZyCAAGBIPkR2yeLOUYzKGSfQuk+P2tjqxyDFhly7df9sA wwipHRXOMvWfZvOHE0llZxMY8+qYdxw7LmD28a+EtvMsNInyYWC0i8ePcI9ib2y3WRao FZKswH0RwG5JbQ/DPw09wtwjgwWQNcGsgmWx2PNbl6BMl1++nOydNEsaTo8zkAvwlsKS CxLAWJLn7SezVB3opMN9/QNs7P5zPJsqlJnAVRStqLxmfsQ16Qf4w+hykVGdkbN/LRhU 899dDuD5wd7obIa5dVs9DAOeJbHEByHopmlMmVgDZnxMNx4sQ71PQFHkuMaF2ooYP48f l5Mw== MIME-Version: 1.0 X-Received: by 10.140.239.150 with SMTP id k144mr6834389qhc.77.1424762902950; Mon, 23 Feb 2015 23:28:22 -0800 (PST) Received: by 10.96.160.99 with HTTP; Mon, 23 Feb 2015 23:28:22 -0800 (PST) In-Reply-To: References: Date: Tue, 24 Feb 2015 08:28:22 +0100 Message-ID: To: Yasuo Ohgaki Cc: Nikita Popov , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE] Exceptions in the engine From: pajousek@gmail.com (=?UTF-8?Q?Pavel_Kou=C5=99il?=) On Tue, Feb 24, 2015 at 12:03 AM, Yasuo Ohgaki wrote: > Hi Nikita, > > On Tue, Feb 24, 2015 at 3:15 AM, Nikita Popov wrote: > >> Voting on the engine exceptions RFC, which proposes to convert existing >> fatal and recoverable fatal errors into exceptions, has opened: >> >> https://wiki.php.net/rfc/engine_exceptions_for_php7#vote >> >> The primary vote requires a 2/3 majority, as this is a language change. >> >> A second vote will decide whether to use a BaseException based inheritance >> hierarchy. This vote uses a simple majority. >> > > Although, AbstractException sounds better to me. I voted "yes" for it now. > > We probably need more specific coding standard for class/interface names > for internal > classes/interfaces. > > Regards, > > -- > Yasuo Ohgaki > yohgaki@ohgaki.net Hello, I personally find both BaseException and AbstractException ugly. The "Throwable" is IMHO much better. Regards Pavel Kouril