--- a/src/java.base/share/classes/java/util/Properties.java Fri Sep 20 11:33:30 2019 +0800
+++ b/src/java.base/share/classes/java/util/Properties.java Fri Sep 20 11:07:52 2019 +0100
@@ -394,7 +394,7 @@
* The specified stream remains open after this method returns.
*
* @param inStream the input stream.
- * @exception IOException if an error occurred when reading from the
+ * @throws IOException if an error occurred when reading from the
* input stream.
* @throws IllegalArgumentException if the input stream contains a
* malformed Unicode escape sequence.
@@ -801,7 +801,7 @@
*
* @param out an output stream.
* @param comments a description of the property list.
- * @exception ClassCastException if this {@code Properties} object
+ * @throws ClassCastException if this {@code Properties} object
* contains any keys or values that are not
* {@code Strings}.
*/
@@ -853,11 +853,11 @@
*
* @param writer an output character stream writer.
* @param comments a description of the property list.
- * @exception IOException if writing this property list to the specified
+ * @throws IOException if writing this property list to the specified
* output stream throws an {@code IOException}.
- * @exception ClassCastException if this {@code Properties} object
+ * @throws ClassCastException if this {@code Properties} object
* contains any keys or values that are not {@code Strings}.
- * @exception NullPointerException if {@code writer} is null.
+ * @throws NullPointerException if {@code writer} is null.
* @since 1.6
*/
public void store(Writer writer, String comments)
@@ -900,11 +900,11 @@
*
* @param out an output stream.
* @param comments a description of the property list.
- * @exception IOException if writing this property list to the specified
+ * @throws IOException if writing this property list to the specified
* output stream throws an {@code IOException}.
- * @exception ClassCastException if this {@code Properties} object
+ * @throws ClassCastException if this {@code Properties} object
* contains any keys or values that are not {@code Strings}.
- * @exception NullPointerException if {@code out} is null.
+ * @throws NullPointerException if {@code out} is null.
* @since 1.2
*/
public void store(OutputStream out, String comments)