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 example
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
here is a list of built in Exception classes, I'd figured I'd start using them,
and save on rolling my own:
Exception
ErrorException
DOMException
LogicException
BadFunctionCallException
BadMethodCallException
DomainException
InvalidArgumentException
LengthException
OutOfRangeException
//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...).
--
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
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) are exceptions
6 matches
Mail list logo