Remove incorrect IllegalStateException reference from method javadoc

See gh-47903

Signed-off-by: Tiemen Schut <tschut@gmail.com>
This commit is contained in:
Tiemen Schut
2025-11-02 10:55:02 +01:00
committed by Stéphane Nicoll
parent 8a03a82820
commit 28d149fa07
@@ -76,7 +76,6 @@ public interface BootstrapContext {
* @param exceptionSupplier the supplier which will return the exception to be thrown
* @return the instance managed by the context, which may be {@code null}
* @throws X if the type has not been registered
* @throws IllegalStateException if the type has not been registered
*/
<T, X extends Throwable> T getOrElseThrow(Class<T> type, Supplier<? extends X> exceptionSupplier) throws X;