On Sun, 2003-03-23 at 09:19, Sebastian Bergmann wrote: > Sterling Hughes wrote: > > Why add a throwable interface? > > Because we can then make throw() throw only Throwable objects. >
That's a bad thing (imho). We shouldn't be enforcing design principles on the users. Sure, we can make advisories ("exceptions should inherit from exception"), but I see no reason to build a standard straightjacket. -Sterling > -- > Sebastian Bergmann > http://sebastian-bergmann.de/ http://phpOpenTracker.de/ > > Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- "Whether you think you can or think you can't -- you are right." - Henry Ford -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php