PHP Standard of already defined custom Exceptions?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jeff00seattle
Forum Commoner
Posts: 66
Joined: Sat Feb 28, 2009 3:27 pm

PHP Standard of already defined custom Exceptions?

Post 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
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: PHP Standard of already defined custom Exceptions?

Post 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.
Post Reply