The Right Approach to Exceptions
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sun Feb 19 00:04:50 PST 2012
On 2/19/12 12:56 AM, Jonathan M Davis wrote:
> I think that being able to have a catch block which took multiple exception
> types would be plenty. There are times when it would be very valuable to be
> able to use the same catch block for multiple exceptions without having to
> catch their base type (which would then potentially catch other exceptions
> which you didn't want to catch). So, something like that second catch block
> that you have there would be very valuable.
So now hierarchies are not good?
Andrei
More information about the Digitalmars-d
mailing list