Files
ldc/tango/lib/compiler/llvmdc/eh.d
Tomas Lindquist Olsen 4505b9b006 [svn r137] Many fixes towards tango.io.Console working, but not quite there yet...
In particular, assertions has been fixed to include file/line info, and much more!
2008-01-14 05:11:54 +01:00

18 lines
259 B
D

/*
* Temporary exception handling stubs
*/
import util.console;
private extern(C) void abort();
extern(C) void _d_throw_exception(Object e)
{
console("Exception: ");
if (e !is null)
{
console(e.toString())("\n");
}
abort();
}