Searched refs:throwableClass (Results 1 – 9 of 9) sorted by relevance
14 private final Class<? extends Throwable> throwableClass; field in ThrowsExceptionForClassType16 public ThrowsExceptionForClassType(Class<? extends Throwable> throwableClass) { in ThrowsExceptionForClassType() argument17 this.throwableClass = throwableClass; in ThrowsExceptionForClassType()23 return instantiator.newInstance(throwableClass); in getThrowable()
29 Class<?> throwableClass = throwable.getClass(); in isValidException() local31 if (exception.isAssignableFrom(throwableClass)) { in isValidException()
104 throwableClass(ThrowableClass(IOException())) in anyThrowableWithSingleThrowableConstructor()105 verify(this).throwableClass(any()) in anyThrowableWithSingleThrowableConstructor()111 fun throwableClass(t: ThrowableClass) method
965 …public static <T extends Throwable> void assertThrows(Class<T> throwableClass, ThrowingRunnable ru… in assertThrows() argument966 expectThrows(throwableClass, runnable); in assertThrows()981 …public static <T extends Throwable> T expectThrows(Class<T> throwableClass, ThrowingRunnable runna… in expectThrows() argument985 if (throwableClass.isInstance(t)) { in expectThrows()986 return throwableClass.cast(t); in expectThrows()989 throwableClass.getSimpleName(), t.getClass().getSimpleName()); in expectThrows()995 throwableClass.getSimpleName()); in expectThrows()
173 auto throwableClass = findClassLocal(throwableName); in throwNewJavaException() local174 auto throwable = throwableClass->newObject( in throwNewJavaException()175 throwableClass->getConstructor<jthrowable(jstring)>(), in throwNewJavaException()
155 throwableClass(ThrowableClass(IOException())) in anyThrowableWithSingleThrowableConstructor()156 verify(this).throwableClass(any()) in anyThrowableWithSingleThrowableConstructor()
65 fun throwableClass(t: ThrowableClass) in stringResult() method
358 Class<?> throwableClass = throwable.getClass(); in isValidThrowable() local360 if (exception.isAssignableFrom(throwableClass)) in isValidThrowable()
244 ClassTypeImpl throwableClass = (ClassTypeImpl)list.get(0); in stop() local246 !throwableClass.isAssignableFrom(throwable)) { in stop()