Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69639 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94884 invoked from network); 17 Oct 2013 16:07:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Oct 2013 16:07:35 -0000 Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.181 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.214.181 mail-ob0-f181.google.com Received: from [209.85.214.181] ([209.85.214.181:41706] helo=mail-ob0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6C/51-12663-54B00625 for ; Thu, 17 Oct 2013 12:07:34 -0400 Received: by mail-ob0-f181.google.com with SMTP id va2so2030491obc.26 for ; Thu, 17 Oct 2013 09:07:30 -0700 (PDT) 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=Hbfc2ZRexvKtAc9FSp72ZD/8wL32uxyeCO4Gb/iMp5s=; b=zipe+oNs08vEC4WF4rf/lpgJUAHeNO6uR1hCD2XeRug/cVvAY1t41nvleKfUo/TWsG kFTEgk/opoWF4c4RF348xh2NnXO79sPzOLHdSSL+bbwMePYsQ5Kfm0A4vN/59yJdPoNu q/v4NYY2YdOqzh8dt+agyVOUH+386BTiHEQEPyBem0Kkq27EoY8NPBq+KGLc1YNUTsMw qmcUFg35vzTpaF45IBv3g546ssj2xraOOlHK8j2J8LALSAk14pw+eMpI3OZg+JqZwuNJ 4zQQFNRYfSAkbiKgUywe5JzkCNmMgmMWTXRQPpyC8Xuy/GERNccOTxa9+2/vde2SZOzC bN3w== MIME-Version: 1.0 X-Received: by 10.182.102.2 with SMTP id fk2mr2692903obb.69.1382026050543; Thu, 17 Oct 2013 09:07:30 -0700 (PDT) Received: by 10.76.12.135 with HTTP; Thu, 17 Oct 2013 09:07:30 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Oct 2013 10:07:30 -0600 Message-ID: To: Ferenc Kovacs Cc: Benjamin Schneider , internals Content-Type: multipart/alternative; boundary=089e013a0420d0261004e8f20388 Subject: Re: [PHP-DEV] Proposal: Introduction of InvalidStateException From: morrison.levi@gmail.com (Levi Morrison) --089e013a0420d0261004e8f20388 Content-Type: text/plain; charset=ISO-8859-1 > > > > I would like to propose the introduction of an 'InvalidStateException' >> > into the SPL extension. Within the existing exceptions I am not able >> > to find a type that would represent a state error, throwable if a >> > method has been invoked at an illegal or inappropriate time. >> > >> >> Exceptions are one part of the SPL that are a nasty, poorly thought-out >> mess (no offense to anyone who worked on it; this stuff is harder than >> people realize). I am -1 on simply adding another exception to our mess, >> but if we can clean it up then I might support it, depending on details. >> > > if somebody wonders what Levi is referring to: > https://wiki.php.net/rfc/spl-improvements > > Also, I have a specific one for exceptions: https://wiki.php.net/rfc/spl-improvements/exceptions I am already updating it with content appropriate to this thread. --089e013a0420d0261004e8f20388--