Re: Re: Throwable interface

From: Date: Sun, 23 Mar 2003 15:07:57 +0000
Subject: Re: Re: Throwable interface
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-182@lists.php.net to get a copy of this message
On Sun, 2003-03-23 at 10:24, Stanislav Malyshev wrote: > SB>> The lack of a common interface of thrown exceptions hinders the > SB>> development of applications like PHPUnit that need to be able to > SB>> work with *every* possible exception. > > Don't we have a way to catch any exception in the language yet? > If you want to catch any exception, just require people to define their exceptions as extending the "exception" class, if they wish to use phpunit. We shouldn't have an engine-level straightjacket on exceptions (more of a response to sebastian's mail than to stas'). -Sterling > -- > Stanislav Malyshev, Zend Products Engineer > stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109 -- "Whether you think you can or think you can't -- you are right." - Henry Ford

« previous php.internals (#182) next »