Re: [PHP-DEV] Re: IException

2004-02-17 Thread Derick Rethans
On Tue, 17 Feb 2004, Stephane Drouard wrote: > The problem is not the name, but the fact that some people would like > to have an interface as the exception base hierarchy. Yes, and I think that's over-complicated, over-bloated and that it doesn't belong in PHP. You throw exceptions, you catch th

Re: [PHP-DEV] Re: IException

2004-02-17 Thread Stephane Drouard
== Quote from Derick Rethans ([EMAIL PROTECTED])'s article > On Tue, 17 Feb 2004, Stanislav Malyshev wrote: > > > >> >Again, I don't see any complexity arising from this: The average user > > >> >would simply use "catch (IException $e)" instead of "catch (Exception > > > > That looks weird. Why IEx

Re: [PHP-DEV] Re: IException

2004-02-17 Thread Derick Rethans
On Tue, 17 Feb 2004, Stanislav Malyshev wrote: > >> >Again, I don't see any complexity arising from this: The average user > >> >would simply use "catch (IException $e)" instead of "catch (Exception > > That looks weird. Why IException? Ah, because it's an interface. And > what's an interface? And

[PHP-DEV] Re: IException

2004-02-17 Thread Stanislav Malyshev
>> >Again, I don't see any complexity arising from this: The average user >> >would simply use "catch (IException $e)" instead of "catch (Exception That looks weird. Why IException? Ah, because it's an interface. And what's an interface? And why should I know about interfaces if I just want to c