Re: [VOTE] Exceptions in the engine
| From: | Christoph Becker | Date: | Sat, 28 Feb 2015 01:21:02 +0000 |
| Subject: | Re: [VOTE] Exceptions in the engine | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84063@lists.php.net to get a copy of this message | ||
Sebastian Bergmann wrote:
> I am sorry that I was unable to raise this concern earlier (did not
> really become aware of the RFC before it was put to the vote), but I
> would prefer the following:
>
> * Introduce a Throwable interface
> * Let Exception implement the Throwable interface
> * Introduce an Error class that implements the Throwable interface
> * Use Error class as base class for exceptions raised by the engine
>
> This would be along the lines of what Java does.
Note, that a Throwable interface has been already brought up a while ago[1].
[1] <http://news.php.net/php.internals/83207>
--
Christoph M. Becker