Re: Proposal: Introduction of InvalidStateException

From: 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 [email protected] 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 <
[email protected]> 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: [email protected]
GTalk: guilhermeblanco
Toronto - ON/Canada


Thread (14 messages)

« previous php.internals (#69618) next »