public static void die(String msg, Exception e) { System.err.println(msg); if (e != null) { System.err.println("Exception: " + e + "\n"); } Thread.dumpStack(); System.exit(2); }
static void fail() { failed++; Thread.dumpStack(); }