Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69618 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57155 invoked from network); 17 Oct 2013 13:35:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Oct 2013 13:35:15 -0000 Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.172 as permitted sender) X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 209.85.220.172 mail-vc0-f172.google.com Received: from [209.85.220.172] ([209.85.220.172:43685] helo=mail-vc0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D9/89-12663-197EF525 for ; Thu, 17 Oct 2013 09:35:13 -0400 Received: by mail-vc0-f172.google.com with SMTP id ks9so964125vcb.17 for ; Thu, 17 Oct 2013 06:35:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=zM6NyL0kVyUXtc1n19NnBIj6fX/xNOSMKEaBbagjp7Y=; b=xNvyE0MMrCb1/MmTM+xZ2qyX5dBhEAfGCqKzM6ab4wbomvWY+9u64U8i5bU7GjQs1Z c6DtjfGBZ0TJZYelbhuGZ9UmpMoPHbJHA8NzfMs3JNsGr2Mrtbc2kKF6J2GONqLOKY+y YdHa5COwjBNKBWz0j+IU72Scg0iYOWPGUZcurZUimJr5YON6Ve4ikcXDdxhX8MyTuFTK fshg/lMGCv7TC7kwQnLXsGJrpqTFVXkLghkq4SnSCAjXKf5u09fD0DIILJJpkkbpiN/k lC7I8Vr0LND3uRAEAGIWCN88hKi1ASGrBm+XBfphMI2JPvAMhvnFymVMbIvyjXbtV9MQ Ekvg== X-Received: by 10.220.186.202 with SMTP id ct10mr6982465vcb.14.1382016910848; Thu, 17 Oct 2013 06:35:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.248.195 with HTTP; Thu, 17 Oct 2013 06:34:50 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Oct 2013 09:34:50 -0400 Message-ID: To: Benjamin Schneider Cc: PHP internals Content-Type: multipart/alternative; boundary=047d7b676fd00b7b0104e8efe325 Subject: Re: [PHP-DEV] Proposal: Introduction of InvalidStateException From: guilhermeblanco@gmail.com ("guilhermeblanco@gmail.com") --047d7b676fd00b7b0104e8efe325 Content-Type: text/plain; charset=UTF-8 I'd suggest to be IllegalStateException then. But +1 on adding it. =) On Thu, Oct 17, 2013 at 9:30 AM, Benjamin Schneider < benjamin.schneider.de@gmail.com> wrote: > Hello, > > 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. > > I would be able to write the RFC and later on implement this new > exception by myself, in case people share my opinion. > > Best regards > Benjamin Schneider > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Guilherme Blanco MSN: guilhermeblanco@hotmail.com GTalk: guilhermeblanco Toronto - ON/Canada --047d7b676fd00b7b0104e8efe325--