@ -194,7 +194,8 @@ public class GenericWebApplicationContext extends GenericApplicationContext
@@ -194,7 +194,8 @@ public class GenericWebApplicationContext extends GenericApplicationContext
}
publicServletConfiggetServletConfig(){
thrownewUnsupportedOperationException();
thrownewUnsupportedOperationException(
"GenericWebApplicationContext does not support getServletConfig()");
}
publicvoidsetNamespace(Stringnamespace){
@ -202,27 +203,29 @@ public class GenericWebApplicationContext extends GenericApplicationContext
@@ -202,27 +203,29 @@ public class GenericWebApplicationContext extends GenericApplicationContext
}
publicStringgetNamespace(){
thrownewUnsupportedOperationException();
thrownewUnsupportedOperationException(
"GenericWebApplicationContext does not support getNamespace()");