Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69624 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69156 invoked from network); 17 Oct 2013 14:33:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Oct 2013 14:33:39 -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.219.41 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.219.41 mail-oa0-f41.google.com Received: from [209.85.219.41] ([209.85.219.41:48660] helo=mail-oa0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A6/0C-12663-345FF525 for ; Thu, 17 Oct 2013 10:33:39 -0400 Received: by mail-oa0-f41.google.com with SMTP id o9so1729433oag.28 for ; Thu, 17 Oct 2013 07:33:36 -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=1Vg20ckp7EBGuDfqxV8PSs93kesALNzy3J4HTcECG/I=; b=V73pWbkXxCpliit5NvEKcyxTJmVBHU4IZuTv+s3/30ifrZ3LB30Eo+9JukraR3MN5I j2i+0lmAXQY0FXcxGlEsaCT7aIIbnWrljH2Mu6QFo+st/HKqeYJr7/LOL/LpwWdc49Rt 68DkXNs01Fzxnu9TDuCRLc+pk7DXTg3y16iGIbmongBdnWf9SZctFotdg69wNatg5jvU SjPzzclrjbdqecVDwmNx8UQ6GxatjCFNxoyTvaOB0936+0IaR+/b37870yrbf85QToLk 4pJGecEX//SAgPIDk5lLpVia0jg9Vhep162wH7+sZ7W5za2QXXgmbB//Mu5M/l4O5xsR c5Qw== MIME-Version: 1.0 X-Received: by 10.182.112.202 with SMTP id is10mr181690obb.90.1382020415628; Thu, 17 Oct 2013 07:33:35 -0700 (PDT) Received: by 10.76.12.135 with HTTP; Thu, 17 Oct 2013 07:33:35 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Oct 2013 08:33:35 -0600 Message-ID: To: Benjamin Schneider Cc: internals Content-Type: multipart/alternative; boundary=089e015369bef22ca904e8f0b377 Subject: Re: [PHP-DEV] Proposal: Introduction of InvalidStateException From: morrison.levi@gmail.com (Levi Morrison) --089e015369bef22ca904e8f0b377 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. --089e015369bef22ca904e8f0b377--