You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: org.springframework.web/src/main/java/org/springframework/web/context/support/GenericWebApplicationContext.java
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -194,35 +194,38 @@ public void setServletConfig(ServletConfig servletConfig) {
194
194
}
195
195
196
196
publicServletConfiggetServletConfig() {
197
-
thrownewUnsupportedOperationException();
197
+
thrownewUnsupportedOperationException(
198
+
"GenericWebApplicationContext does not support getServletConfig()");
198
199
}
199
200
200
201
publicvoidsetNamespace(Stringnamespace) {
201
202
// no-op
202
203
}
203
204
204
205
publicStringgetNamespace() {
205
-
thrownewUnsupportedOperationException();
206
+
thrownewUnsupportedOperationException(
207
+
"GenericWebApplicationContext does not support getNamespace()");
0 commit comments