static void printLastException() { Throwable e = lastException(); if (e != null) printStackTrace2(e); else print("No exceptions"); }