> On 19 Feb 2015, at 12:54, Dmitry Stogov <dmi...@zend.com> wrote: > > I think we may introduce the following hierarchy > > abstarct class BaseException { > } > class Exception extends BaseException { > } > class EngineException extends BaseException { > } > > the existing code that caught Exception is going to be unaffected. > New code may decide to catch engine exception in separate catch block > (using EngineException) or in single block (using BaseException)
If I remember it correctly, BaseException was used by some real code out there. But we can use _BaseException instead -- Alexey Zakhlestin CTO at Grids.by/you https://github.com/indeyets PGP key: http://indeyets.ru/alexey.zakhlestin.pgp.asc
signature.asc
Description: Message signed with OpenPGP using GPGMail