If you call FileWriter.write(String, int, int) with out of bounds values, you get a StringIndexOutOfBoundsException rather than an IllegalArgumentException.
- duplicates
-
JDK-4127657 read(byte[], int, int) in xxxReader can throw undocumented exceptions
-
- Closed
-