Lines Matching defs:index
30 * Thrown by {@code String} methods to indicate that an index
33 * thrown when the index is equal to the size of the string.
65 * class with an argument indicating the illegal index.
67 * @param index the illegal index.
69 public StringIndexOutOfBoundsException(int index) {
70 super("String index out of range: " + index);
78 StringIndexOutOfBoundsException(String s, int index) {
79 this(s.length(), index);
86 StringIndexOutOfBoundsException(int sourceLength, int index) {
87 super("length=" + sourceLength + "; index=" + index);