On Sunday, 4 March 2012 at 02:53:54 UTC, Sandeep Datta wrote:
Thus the inability of handling such exceptions undermines D's ability to support dynamically loaded modules of any kind and greatly impairs modularity.

You can catch it in D (on Windows):

import std.stdio;
void main() {
        int* a;
        try {
                *a = 0;
        } catch(Throwable t) {
                writefln("I caught it! %s", t.msg);
        }
}

dmd test9
test9
I caught it! Access Violation

Reply via email to