If you call FileReader.read(char[], int, int) with parameters that cause an out of bounds condition, you get IndexOutOfBoundsException rather than IllegalArgumentException.
- duplicates
-
JDK-4127657 read(byte[], int, int) in xxxReader can throw undocumented exceptions
-
- Closed
-