Re: Proposal: Introduction of InvalidStateException
| From: | guilhermeblanco@gmail.com | Date: | Thu, 17 Oct 2013 13:34:50 +0000 |
| Subject: | Re: Proposal: Introduction of InvalidStateException | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-69618@lists.php.net to get a copy of this message | ||
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