src/share/classes/java/lang/Double.java

Print this page

        

@@ -527,10 +527,11 @@
      * {@code Double}.
      *
      * @param  s   the string to be parsed.
      * @return the {@code double} value represented by the string
      *         argument.
+     * @throws NullPointerException  if the string is null
      * @throws NumberFormatException if the string does not contain
      *         a parsable {@code double}.
      * @see    java.lang.Double#valueOf(String)
      * @since 1.2
      */