Re: Re: Throwable::addSuppressed()
| From: | Markus Malkusch | Date: | Sat, 01 Aug 2015 14:44:39 +0000 |
| Subject: | Re: Re: Throwable::addSuppressed() | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87485@lists.php.net to get a copy of this message | ||
Christoph Becker:
> Markus Malkusch wrote:
>>
>> I'd like to revise that. I'd just learned that finally does indeed fit
>> here, as it would automatically glue exceptions:
[..]
> Note that there's an open bug report
> (<https://bugs.php.net/68270>)
> regarding this issue.
Thank you for pointing to that bug. So I understand the authors of that
bug are surprised that finally does magically attach exceptions. I did
actually also not expect that, as it is not documented nor do I have
that experience from other languages (did only check with Java).
So I can assume that magic finally glue behaviour is not considered
stable, which then again gives Throwable::addSupressed() IMO a
justification.
Markus Malkusch