From 8d90817ba3157452d12adc75c18631641090bcee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Wed, 8 May 2024 15:59:28 +0200 Subject: [PATCH] Polish and fix build failure --- .../test/web/servlet/assertj/MvcTestResult.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/spring-test/src/main/java/org/springframework/test/web/servlet/assertj/MvcTestResult.java b/spring-test/src/main/java/org/springframework/test/web/servlet/assertj/MvcTestResult.java index 2101b158c2..9b16c9a146 100644 --- a/spring-test/src/main/java/org/springframework/test/web/servlet/assertj/MvcTestResult.java +++ b/spring-test/src/main/java/org/springframework/test/web/servlet/assertj/MvcTestResult.java @@ -44,10 +44,12 @@ import org.springframework.test.web.servlet.MvcResult; public interface MvcTestResult extends AssertProvider { /** - * Return the {@linkplain MvcResult result} of the processing. + * Return the {@linkplain MvcResult result} of the processing. If + * the processing has failed with an unresolved exception, the + * result is not available, see {@link #getUnresolvedException()}. * @return the {@link MvcResult} - * @throw {@link IllegalStateException} if the request failed unexpectedly - * @see #getUnresolvedException() + * @throws IllegalStateException if the processing has failed with + * an unresolved exception */ MvcResult getMvcResult();