Lines Matching refs: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);
77 public StringIndexOutOfBoundsException(String s, int index) {
78 this(s.length(), index);
85 public StringIndexOutOfBoundsException(int sourceLength, int index) {
86 super("length=" + sourceLength + "; index=" + index);