Re: Proposal: Introduction of InvalidStateException
Levi,
I'd love to listen your ideas/suggestions. Maybe we can implement an RFC to
make it better.
Without exposure to problems, there are no problems at all.
I'm not saying it's perfect, but would love ideas on how we can improve it.
=)
Cheers,
On Thu, Oct 17, 2013 at 10:33 AM, Levi Morrison <[email protected]>wrote:
> >
> > 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.
>
--
Guilherme Blanco
MSN: [email protected]
GTalk: guilhermeblanco
Toronto - ON/Canada
Thread (14 messages)