Home | History | Annotate | Download | only in jsr166

Lines Matching refs:exceptionClass

744         final Class<?> exceptionClass;
746 <T extends Throwable> RunnableShouldThrow(Class<T> exceptionClass) {
747 this.exceptionClass = exceptionClass;
753 threadShouldThrow(exceptionClass.getSimpleName());
755 if (! exceptionClass.isInstance(t))
764 final Class<?> exceptionClass;
766 <T extends Throwable> ThreadShouldThrow(Class<T> exceptionClass) {
767 this.exceptionClass = exceptionClass;
773 threadShouldThrow(exceptionClass.getSimpleName());
775 if (! exceptionClass.isInstance(t))