jdk/src/java.base/share/classes/java/io/Reader.java
changeset 30443 8d2f2ce637bd
parent 25859 3317bb8137f4
child 32033 bf24e33c7919
--- a/jdk/src/java.base/share/classes/java/io/Reader.java	Tue May 12 14:32:50 2015 +0200
+++ b/jdk/src/java.base/share/classes/java/io/Reader.java	Tue May 12 13:59:31 2015 +0100
@@ -153,6 +153,9 @@
      *             stream has been reached
      *
      * @exception  IOException  If an I/O error occurs
+     * @exception  IndexOutOfBoundsException
+     *             If {@code off} is negative, or {@code len} is negative,
+     *             or {@code len} is greater than {@code cbuf.length - off}
      */
     abstract public int read(char cbuf[], int off, int len) throws IOException;