New protocol for disabling exception suppression
Rémi Forax
forax at univ-mlv.fr
Sun Apr 3 15:44:19 PDT 2011
On 04/04/2011 12:34 AM, David Holmes wrote:
> Rémi Forax said the following on 04/04/11 08:26:
>> On 04/04/2011 12:11 AM, brucechapman at paradise.net.nz wrote:
>>> Yes in a way it is second order. If it is a Throwable (rather than a
>>> subclass)
>>> then you are saying it is not an Error, and it is not an Exception,
>>> and it is
>>> not a RuntimeException! So what is it?
>>
>> First, from the JLS point of view, exception are defined in term of
>> Throwable.
>> The class j.l.Exception is not the root of all checked exceptions,
>> it's j.l.Throwable.
>>
>> j.l.Throwable is not an abstract class. So Throwable was not
>> a second order citizen until recently.
>
> Personally I don't have an issue with the new constructor being
> public. But I don't expect anyone to create a direct instance of
> Throwable in any realistic/practical situation.
Anyone never think like anyone else.
>
> David
Rémi
More information about the coin-dev
mailing list