On Tue, Nov 11, 2008 at 23:00, Etienne Kneuss <[EMAIL PROTECTED]> wrote: > Hello David, > > On Tue, Nov 11, 2008 at 5:16 PM, David Grudl <[EMAIL PROTECTED]> wrote: >> Hello *internals* and Marcus! >> >> What do you think about possibility to implement to PHP 5.3 several useful >> default exceptions? >> >> (note that InvalidArgumentException, RuntimeException and LogicException >> exists since PHP 5.1) >> >> /** >> * The exception that is thrown when the value of an argument is >> * outside the allowable range of values as defined by the invoked method. >> */ >> class ArgumentOutOfRangeException extends InvalidArgumentException >> {} > > Looks a bit redundant with OutOfRangeException
I see no point in any of them. We already have like 15 exceptions.. There is absolutely no point in any more, unless they'll have some superpowers (like ErrorException). -Hannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php