Skip to content

Commit abec289

Browse files
committed
Stop mentioning non-existent NestedServletException
NestedServletException has been removed from the framework.
1 parent 3026f0a commit abec289

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spring-web/src/main/java/org/springframework/web/bind/ServletRequestBindingException.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@
2525
import org.springframework.web.ErrorResponse;
2626

2727
/**
28-
* Fatal binding exception, thrown when we want to treat binding exceptions
29-
* as unrecoverable.
28+
* Fatal binding exception, thrown when we want to treat binding exceptions as
29+
* unrecoverable.
3030
*
31-
* <p>Extends ServletException for convenient throwing in any Servlet resource
32-
* (such as a Filter), and NestedServletException for proper root cause handling
33-
* (as the plain ServletException doesn't expose its root cause at all).
31+
* <p>Extends {@link ServletException} for convenient throwing in any Servlet
32+
* resource (such as a Filter).
3433
*
3534
* @author Rod Johnson
3635
* @author Juergen Hoeller
@@ -95,6 +94,7 @@ protected ServletRequestBindingException(@Nullable String msg, @Nullable Throwab
9594
this.messageDetailArguments = messageDetailArguments;
9695
}
9796

97+
9898
private String initMessageDetailCode(@Nullable String messageDetailCode) {
9999
return (messageDetailCode != null ?
100100
messageDetailCode : ErrorResponse.getDefaultDetailMessageCode(getClass(), null));

0 commit comments

Comments
 (0)