Author: sebb
Date: Tue Mar 24 23:45:30 2009
New Revision: 758090

URL: http://svn.apache.org/viewvc?rev=758090&view=rev
Log:
Javadoc fixes

Modified:
    jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/ScriptContext.java

Modified: 
jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/ScriptContext.java
URL: 
http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/ScriptContext.java?rev=758090&r1=758089&r2=758090&view=diff
==============================================================================
--- 
jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/ScriptContext.java 
(original)
+++ 
jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/ScriptContext.java 
Tue Mar 24 23:45:30 2009
@@ -68,6 +68,8 @@
      * @param  name the name of attribute
      * @return the value corresponding to lowest value of the scope 
      *         or -1 if no associated value exist in any scope  
+     * @throws NullPointerException if name is null. 
+     * @throws IllegalArgumentException if name is empty.
      */
     public int getAttributesScope(String name);
     
@@ -133,7 +135,9 @@
      * @param  name  the name of the attribute
      * @param  scope the level of scope which inherit the attribute
      * @return previous value associated with specified name
-     * @throws IllegalArgumentException if the name is null or if the 
+     * 
+     * @throws NullPointerException if the name is null 
+     * @throws IllegalArgumentException if the name is empty or if the 
      *         scope is invalid
      */
     public Object removeAttribute(String name, int scope);



---------------------------------------------------------------------
To unsubscribe, e-mail: bsf-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: bsf-dev-h...@jakarta.apache.org

Reply via email to