6251788: (rb) PropertyResourceBundle doesn't document exceptions
Reviewed-by: okutsu
--- a/jdk/src/share/classes/java/util/PropertyResourceBundle.java Tue May 28 10:42:52 2013 -0700
+++ b/jdk/src/share/classes/java/util/PropertyResourceBundle.java Tue May 28 14:02:49 2013 -0700
@@ -124,6 +124,8 @@
* to read from.
* @throws IOException if an I/O error occurs
* @throws NullPointerException if <code>stream</code> is null
+ * @throws IllegalArgumentException if {@code stream} contains a
+ * malformed Unicode escape sequence.
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public PropertyResourceBundle (InputStream stream) throws IOException {
@@ -142,6 +144,8 @@
* read from.
* @throws IOException if an I/O error occurs
* @throws NullPointerException if <code>reader</code> is null
+ * @throws IllegalArgumentException if a malformed Unicode escape sequence appears
+ * from {@code reader}.
* @since 1.6
*/
@SuppressWarnings({"unchecked", "rawtypes"})