Author: remy.maucherat(a)jboss.com
Date: 2009-10-09 21:01:00 -0400 (Fri, 09 Oct 2009)
New Revision: 1191
Modified:
trunk/java/javax/servlet/ServletContext.java
Log:
- Javadoc update.
Modified: trunk/java/javax/servlet/ServletContext.java
===================================================================
--- trunk/java/javax/servlet/ServletContext.java 2009-10-09 16:06:15 UTC (rev 1190)
+++ trunk/java/javax/servlet/ServletContext.java 2009-10-10 01:01:00 UTC (rev 1191)
@@ -1512,6 +1512,12 @@
*
* @param roleNames the role names being declared
*
+ * @throws UnsupportedOperationException if this ServletContext was
+ * passed to the {@link ServletContextListener#contextInitialized} method
+ * of a {@link ServletContextListener} that was neither declared in
+ * <code>web.xml</code> or <code>web-fragment.xml</code>, nor
annotated
+ * with {@link javax.servlet.annotation.WebListener}
+ *
* @throws IllegalArgumentException if any of the argument roleNames is
* null or the empty string
*
Show replies by date