Skip to content

Commit 28d149f

Browse files
tschutsnicoll
authored andcommitted
Remove incorrect IllegalStateException reference from method javadoc
See gh-47903 Signed-off-by: Tiemen Schut <tschut@gmail.com>
1 parent 8a03a82 commit 28d149f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ public interface BootstrapContext {
7676
* @param exceptionSupplier the supplier which will return the exception to be thrown
7777
* @return the instance managed by the context, which may be {@code null}
7878
* @throws X if the type has not been registered
79-
* @throws IllegalStateException if the type has not been registered
8079
*/
8180
<T, X extends Throwable> T getOrElseThrow(Class<T> type, Supplier<? extends X> exceptionSupplier) throws X;
8281

0 commit comments

Comments
 (0)