Exceptional News

David Nadlinger see at klickverbot.at
Mon Feb 11 05:00:17 PST 2013


Looks like we are finally getting somewhere. :)

---
version (Windows) {} else static assert(false);
void main() {
     try {
     	throw new Exception("This exception...");
     } catch (Exception e) {
     	import std.stdio;
     	writeln(e.msg, " ... has been caught for you by ", 
__VENDOR__, ".");
     }
}
---
This exception... ... has been caught for you by LDC.
---

David


More information about the Digitalmars-d mailing list