Re: [PHP-DEV] default exceptions, interfaces, etc.

2003-03-22 Thread Jani Taskinen
On 22 Mar 2003, Sterling Hughes wrote: >On Sat, 2003-03-22 at 21:33, Derick Rethans wrote: >> On Sun, 22 Mar 2003, Sterling Hughes wrote: >> >> > On Sat, 2003-03-22 at 19:02, Moriyoshi Koizumi wrote: >> > > Hi, >> > > >> > > As per naming convention, I think it'd be nice if the methods were >> >

Re: [PHP-DEV] default exceptions, interfaces, etc.

2003-03-22 Thread Sterling Hughes
On Sat, 2003-03-22 at 21:33, Derick Rethans wrote: > On Sun, 22 Mar 2003, Sterling Hughes wrote: > > > On Sat, 2003-03-22 at 19:02, Moriyoshi Koizumi wrote: > > > Hi, > > > > > > As per naming convention, I think it'd be nice if the methods were > > > named as: > > > > > > getmessage => get_mess

Re: [PHP-DEV] default exceptions, interfaces, etc.

2003-03-22 Thread Sterling Hughes
On Sat, 2003-03-22 at 21:14, Marcus Börger wrote: > At 00:43 23.03.2003, Sterling Hughes wrote: > >On Sat, 2003-03-22 at 19:02, Moriyoshi Koizumi wrote: > > > Hi, > > > > > > As per naming convention, I think it'd be nice if the methods were > > > named as: > > > > > > getmessage => get_message > >

Re: [PHP-DEV] default exceptions, interfaces, etc.

2003-03-22 Thread Derick Rethans
On Sun, 22 Mar 2003, Sterling Hughes wrote: > On Sat, 2003-03-22 at 19:02, Moriyoshi Koizumi wrote: > > Hi, > > > > As per naming convention, I think it'd be nice if the methods were > > named as: > > > > getmessage => get_message > > getcode => get_code > > > > If those are corrected, +1 for t

Re: [PHP-DEV] default exceptions, interfaces, etc.

2003-03-22 Thread Marcus Börger
At 00:43 23.03.2003, Sterling Hughes wrote: On Sat, 2003-03-22 at 19:02, Moriyoshi Koizumi wrote: > Hi, > > As per naming convention, I think it'd be nice if the methods were > named as: > > getmessage => get_message > getcode => get_code > > If those are corrected, +1 for this feature. > I was thi

Re: [PHP-DEV] default exceptions, interfaces, etc.

2003-03-22 Thread Moriyoshi Koizumi
Okay, then I see the issue and no problem with the patch. +1. Moriyoshi Sterling Hughes <[EMAIL PROTECTED]> wrote: > On Sat, 2003-03-22 at 19:02, Moriyoshi Koizumi wrote: > > Hi, > > > > As per naming convention, I think it'd be nice if the methods were > > named as: > > > > getmessage => get_

Re: [PHP-DEV] default exceptions, interfaces, etc.

2003-03-22 Thread Sterling Hughes
On Sat, 2003-03-22 at 19:02, Moriyoshi Koizumi wrote: > Hi, > > As per naming convention, I think it'd be nice if the methods were > named as: > > getmessage => get_message > getcode => get_code > > If those are corrected, +1 for this feature. > I was thinking of that - I would personally pref

Re: [PHP-DEV] default exceptions, interfaces, etc.

2003-03-22 Thread Moriyoshi Koizumi
Hi, As per naming convention, I think it'd be nice if the methods were named as: getmessage => get_message getcode => get_code If those are corrected, +1 for this feature. Moriyoshi Sterling Hughes <[EMAIL PROTECTED]> wrote: > Hi, > > Attached is a patch (+ 2 files) that add a default "excep

[PHP-DEV] default exceptions, interfaces, etc.

2003-03-22 Thread Sterling Hughes
Hi, Attached is a patch (+ 2 files) that add a default "exception" class to Zend 2. I find this very useful when you just want to throw a simple exception inside of a try {}, but you don't want to create a new exception for each and every error. I'll commit this tommorowish, unless somebody obje