Change the name of ArrayBoundsException in druntime
Robert Fraser
fraserofthenight at gmail.com
Thu Oct 23 18:50:20 PDT 2008
Andrei Alexandrescu wrote:
> r.tellFailed( e.toString );
Now that's just wrong. toString should be used for internal debugging
purposes. If there's a recoverable error and you want to show it to the
user, in a big product, it will need to be internationalized. The worry
about what language to display the string in should not be given to the
exception thrower, it should be given to the catcher.
More information about the Digitalmars-d
mailing list