Proposal: Introduction of InvalidStateException

From: Date: Thu, 17 Oct 2013 13:30:30 +0000
Subject: Proposal: Introduction of InvalidStateException
Groups: php.internals 
Request: Send a blank email to internals+get-69617@lists.php.net to get a copy of this message
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

« previous php.internals (#69617) next »