## Uses of Interface
org.apache.lucene.util.LuceneTestCase.ThrowingRunnable

- Packages that use LuceneTestCase.ThrowingRunnable
  Package | Description
  --- | ---
  org.apache.lucene.util | General test support.

- - ### Uses of LuceneTestCase.ThrowingRunnable in org.apache.lucene.util

    Methods in org.apache.lucene.util with parameters of type LuceneTestCase.ThrowingRunnable
    Modifier and Type | Method and Description
    --- | ---
    `static <T extends Throwable> T` | LuceneTestCase.`expectThrows(Class<T> expectedType, LuceneTestCase.ThrowingRunnable runnable)` Checks a specific exception class is thrown by the given runnable, and returns it.
    `static <TO extends Throwable,TW extends Throwable> TW` | LuceneTestCase.`expectThrows(Class<TO> expectedOuterType, Class<TW> expectedWrappedType, LuceneTestCase.ThrowingRunnable runnable)` Checks that specific wrapped and outer exception classes are thrown by the given runnable, and returns the wrapped exception.

Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.