Re: [PHP] Which Exception to use ....

2008-08-23 Thread Jochem Maas
David Otton schreef: 2008/8/22 Jochem Maas <[EMAIL PROTECTED]>: still leaves the questions as to what a DomainException and a ErrorException is meant to model. A domain exception is thrown when a value is valid according to its type, but not within the domain of the function that it is being

Re: [PHP] Which Exception to use ....

2008-08-23 Thread David Otton
2008/8/22 Jochem Maas <[EMAIL PROTECTED]>: > still leaves the questions as to what a DomainException and a ErrorException > is meant to model. A domain exception is thrown when a value is valid according to its type, but not within the domain of the function that it is being passed to. For examp

Re: [PHP] Which Exception to use ....

2008-08-22 Thread Andrew Ballard
On Fri, Aug 22, 2008 at 12:35 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Pavel schreef: >> >> //sorry for my english >> >> Firstly, this list of exception show only registered in system exceptions, > > yes I know, I wrote exactly that in the first line of my post. > >> which (excluding one-two) a

Re: [PHP] Which Exception to use ....

2008-08-22 Thread Jochem Maas
Pavel schreef: //sorry for my english Firstly, this list of exception show only registered in system exceptions, yes I know, I wrote exactly that in the first line of my post. which (excluding one-two) are exceptions of some php mobules:mysqli,sqllite and so on... it's 5 actually, I menti

Re: [PHP] Which Exception to use ....

2008-08-22 Thread Pavel
//sorry for my english Firstly, this list of exception show only registered in system exceptions, which (excluding one-two) are exceptions of some php mobules:mysqli,sqllite and so on... I use only Exception class and my extends on it (so and exceptions from your list are extends...). -- ===