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

Exceptions are a great way in OOP to deal with errors. It enables you to handle errors occurred in the called methods in one catch block instead of being forced to check the return value of every method call: