Hello Sebastian,

Saturday, September 6, 2003, 7:20:52 PM, you wrote:

> Marcus Börger wrote:
>> If all exception objects must be instances of classes derived from
>> exception or that class itself..well..why then specify exception.

>   That's why proposed the following a *long* time ago:

>     * Introduce

>         interface Throwable {}

>       as built-in interface.

>     * Allow only classes implementing the Throwable interface to be
>       throw()n.

>     * Provide the current Exception class (implementing avove interface)
>       as a standard exception class.

Sounds good to me.

interface throwable {}

But again, doing so it makes no sense not to have a catch all because
effectively you ha it now - only you don't allow to write that.

-- 
Best regards,
 Marcus                            mailto:[EMAIL PROTECTED]

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to