Re: Default exception handler

From: Date: Fri, 05 Sep 2003 15:42:29 +0000
Subject: Re: Default exception handler
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-4396@lists.php.net to get a copy of this message
On Friday, September 5, 2003, at 11:30 AM, Sebastian Bergmann wrote:
Marcus Börger wrote:
try { // code } catch (class1 $var) { } catch (class2 $var) { } catch ($var) { }
I thought that only objects of the Exception class and subclasses thereof can be throw().
Forcing all thrown objects to be subclassed from Exception does not feel very PHP-ish.

« previous php.internals (#4396) next »