LogicException vs. RuntimeException

I was wondering if there was a rule saying when to use which Exception in PHP... When do I have to throw a LogicException and when a RuntimeException?

For example when it comes to exceptions like PageNotFoundException, from which exception class should I inherit?

35
задан Nedec 7 April 2011 в 19:20
поделиться