Searched refs:throwableType (Results 1 – 1 of 1) sorted by relevance
357 static void expectThrowable(Runnable block, Class<? extends Throwable> throwableType) { in expectThrowable() argument361 if (t.getClass().equals(throwableType)) { in expectThrowable()364 fail("expected exception of type " + throwableType + ", but was " + t.getClass()); in expectThrowable()366 fail("expected exception of type " + throwableType); in expectThrowable()