Merge pull request #47903 from tschut

* pr/47903:
  Remove incorrect IllegalStateException reference from method javadoc

Closes gh-47903
This commit is contained in:
Stéphane Nicoll
2025-11-02 10:56:43 +01:00
@@ -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;