[Issue 11338] std.uri URIerror should be an Exception

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 1 09:20:09 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11338



--- Comment #1 from github-bugzilla at puremagic.com 2013-11-01 09:20:07 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/1fd19c2366e3d1f41ddff5adc3d73820faf56ad4
Fix of Issue 11338

- URIerror renamed to URIexception
- URIexception class inherits from Exception

https://github.com/D-Programming-Language/phobos/commit/fa0627b21854a3d7be461da20632e474d07c4b66
Fix Issue 11338
- Now call the onOutOfMemoryError() function when alloca returns NULL
- Fixed the URIexception name to URIException
- Added a string constructor for the URIException class
- Added more informative messages to some of the errors

https://github.com/D-Programming-Language/phobos/commit/74d59dd7db418126f323586bcc9a09ca6b69b69a
Fixing Issue 11338 - Additional

- Now all thrown URIException have human readable text
- throw new OutOfMemoryError("Alloca Failure"); // Make code look more
consistant

https://github.com/D-Programming-Language/phobos/commit/42eec50ffe2f315dfb8caac3b8c110058115b880
Merge pull request #1659 from DannyArends/issue_11338

Fix Issue 11338 - std.uri URIerror should be an Exception

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list