Page 1 of 1

PHP Standard of already defined custom Exceptions?

Posted: Tue Mar 02, 2010 5:40 pm
by jeff00seattle
Hi

Within Java and C#, they provide a set of their own custom exception handlers.

However, PHP does not, and customizing exceptions is at the whim of the PHP developer.

Is there a PHP standard that has an agreement in naming common custom exceptions; like ParseException, IOException, RuntimeException, etc... ?

Thanks

Jeff in Seattle

Re: PHP Standard of already defined custom Exceptions?

Posted: Tue Mar 02, 2010 6:35 pm
by requinix
No.

As is the answer to most of the questions you're asking, use somebody else's standard or come up with your own.