Browse Source

Remove incorrect IllegalStateException reference from method javadoc

See gh-47903

Signed-off-by: Tiemen Schut <tschut@gmail.com>
pull/48100/head
Tiemen Schut 3 months ago committed by Stéphane Nicoll
parent
commit
28d149fa07
  1. 1
      spring-boot-project/spring-boot/src/main/java/org/springframework/boot/BootstrapContext.java

1
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/BootstrapContext.java

@ -76,7 +76,6 @@ public interface BootstrapContext { @@ -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;

Loading…
Cancel
Save