< prev index next >

src/java.scripting/share/classes/javax/script/ScriptEngineFactory.java

Print this page

        

@@ -214,10 +214,12 @@
      * }</pre>
      *
      *  @param statements The statements to be executed.  May be return values of
      *  calls to the <code>getMethodCallSyntax</code> and <code>getOutputStatement</code> methods.
      *  @return The Program
+     *
+     *  @throws NullPointerException if the <code>statements</code> array or any of its elements is null
      */
 
     public String getProgram(String... statements);
 
     /**
< prev index next >