From 2e218761e5e7413a7257cdacc1ca8e2bbfbcf66d Mon Sep 17 00:00:00 2001 From: Tiemen Schut Date: Sat, 1 Nov 2025 15:10:17 +0100 Subject: [PATCH] Remove ambiguous/incorrect IllegalStateException from method javadoc Signed-off-by: Tiemen Schut --- .../org/springframework/boot/bootstrap/BootstrapContext.java | 1 - 1 file changed, 1 deletion(-) diff --git a/core/spring-boot/src/main/java/org/springframework/boot/bootstrap/BootstrapContext.java b/core/spring-boot/src/main/java/org/springframework/boot/bootstrap/BootstrapContext.java index b2970b84bcd1..66a7247415ec 100644 --- a/core/spring-boot/src/main/java/org/springframework/boot/bootstrap/BootstrapContext.java +++ b/core/spring-boot/src/main/java/org/springframework/boot/bootstrap/BootstrapContext.java @@ -79,7 +79,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 */ @Nullable T getOrElseThrow(Class type, Supplier exceptionSupplier) throws X;