[dmd-concurrency] Shutdown protocol
Sean Kelly
sean at invisibleduck.org
Thu Jan 21 12:11:38 PST 2010
On Jan 21, 2010, at 10:59 AM, Steve Schveighoffer wrote:
> Le 2010-01-21 à 13:43, Andrei Alexandrescu a écrit :
>
>> But in that case I think we should make Terminate inherit Error, not Exception. That way just writing catch (Exception e) won't catch Terminate. Agree?
>
> I disagree about inheriting from Error: Terminate isn't an error. You're probably right that it shouldn't be an Exception, so in that case it should inherit from Throwable, not Error.
It's been suggested that Throwable be removed and Exception derive from Error.
More information about the dmd-concurrency
mailing list