digitalmars.D.bugs - [Issue 5220] New: Make std.conv.ConvError an Exception instead of an Error
- d-bugmail puremagic.com (22/22) Nov 15 2010 http://d.puremagic.com/issues/show_bug.cgi?id=5220
- d-bugmail puremagic.com (7/7) Nov 15 2010 http://d.puremagic.com/issues/show_bug.cgi?id=5220
- d-bugmail puremagic.com (10/10) Jan 09 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5220
- d-bugmail puremagic.com (11/11) Jan 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=5220
http://d.puremagic.com/issues/show_bug.cgi?id=5220 Summary: Make std.conv.ConvError an Exception instead of an Error Product: D Version: unspecified Platform: Other OS/Version: Linux Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: jmdavisProg gmx.com PST --- std.conv.ConvError is an Error which makes it so that you can't catch it (unless you're willing to catch Errors, which you're not supposed to do). It should be an Exception so that it can be caught and handled in cases of failure rather than taking the whole program down with it just because to!() failed. Presumably, it should be renamed to ConvException as well. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 15 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5220 PST --- As noted by dsimcha on Phobos list, ConvError should be left as a deprecated alias to ConvException for a few releases to mitigate code breakage. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 15 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5220 Andrei Alexandrescu <andrei metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |andrei metalanguage.com AssignedTo|nobody puremagic.com |andrei metalanguage.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 09 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5220 Jonathan M Davis <jmdavisProg gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED PST --- This was already done a while ago. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 20 2012