Translations:Developers/Object oriented programming in PHP/Exceptions/6/en

On the other hand, PHP built-in functions usually don't throw any exceptions, so problems can't be handled within a catch block. But there are also cases where you shouldn't throw exceptions and handle problems differently. An example are errors that are not uncommon and can be handled within the same method: