static void nuLike assertInnerExceptionOfType(Class type, Runnable r) { var e = assertFail(r); if (!containsExceptionOfType(e, type)) fail("Exception " + e + " isn't of type " + type); }