digitalmars.D.bugs - [Issue 8136] New: Stack unwinding example uses OutOfMemoryError
- d-bugmail puremagic.com (24/24) May 23 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8136
- d-bugmail puremagic.com (7/7) May 23 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8136
http://d.puremagic.com/issues/show_bug.cgi?id=8136 Summary: Stack unwinding example uses OutOfMemoryError Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: websites AssignedTo: nobody puremagic.com ReportedBy: dawg dawgfoto.de --- Comment #0 from dawg dawgfoto.de 2012-05-23 12:39:30 PDT --- If code detects an error like "out of memory," then an Error is thrown with a message saying "Out of memory". The function call stack is unwound, looking for a handler for the Error. Finally blocks are executed as the stack is unwound. If an error handler is found, execution resumes there. If not, the default Error handler is run, which displays the message and terminates the program. This paragraph from http://dlang.org/errors.html exemplifies stack unwinding and cleanup. It should be changed to use an Exception. http://d.puremagic.com/issues/show_bug.cgi?id=8135 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 23 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8136 --- Comment #1 from dawg dawgfoto.de 2012-05-23 12:46:57 PDT --- The page (http://dlang.org/errors.html) should explain the difference between both kinds of Throwables, i.e. recoverable Exceptions and unrecoverable Errors. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 23 2012