Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69617 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55228 invoked from network); 17 Oct 2013 13:30:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Oct 2013 13:30:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=benjamin.schneider.de@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=benjamin.schneider.de@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.44 as permitted sender) X-PHP-List-Original-Sender: benjamin.schneider.de@gmail.com X-Host-Fingerprint: 209.85.128.44 mail-qe0-f44.google.com Received: from [209.85.128.44] ([209.85.128.44:38405] helo=mail-qe0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/19-12663-A76EF525 for ; Thu, 17 Oct 2013 09:30:36 -0400 Received: by mail-qe0-f44.google.com with SMTP id 6so565738qeb.3 for ; Thu, 17 Oct 2013 06:30:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=8Fxq2wXux3e6WscoYltj/BR0IT0Gifrba57wkmdfwls=; b=TxwrCDbH5TIy2ZPnEnuI8TVG03ypW+4iT9mpWUQCIo+koMdh6q7s2y3IOdwWxifpyc N7khlKEcQnOpLLwyU+MSV2a0xyeutaWvOwJO7u3qXBDKK5oe6TD8rnoIj+hV57Y4BCpl uNAirRuJ2gM842lxJaHEF1L5JvX+3X1AgFXFlx9mu8kafnrfMttVdVTIO6zyBk5BN3G9 2A2NF3KutHVyJ9TZoClrVNcaxyGC7uVKA7M+YSg/+SGeUkvfWyJSrRprc29dGreMF2wH 2N1Sl7yW1DFTXeY81rhw4YD0VKg+dK9beCRHwAxJ8DzwZCsVBDOwijX/VO1vxEEEgPZv jP2w== MIME-Version: 1.0 X-Received: by 10.224.45.197 with SMTP id g5mr12416343qaf.2.1382016630663; Thu, 17 Oct 2013 06:30:30 -0700 (PDT) Received: by 10.224.147.139 with HTTP; Thu, 17 Oct 2013 06:30:30 -0700 (PDT) Date: Thu, 17 Oct 2013 15:30:30 +0200 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Proposal: Introduction of InvalidStateException From: benjamin.schneider.de@gmail.com (Benjamin Schneider) 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