/frameworks/base/core/java/android/text/ |
PackedIntVector.java | 67 * @throws IndexOutOfBoundsException if the row is out of range 75 throw new IndexOutOfBoundsException(row + ", " + column); 98 * @throws IndexOutOfBoundsException if the row is out of range 104 throw new IndexOutOfBoundsException(row + ", " + column); 149 * @throws IndexOutOfBoundsException if the row is out of range 156 throw new IndexOutOfBoundsException(startRow + ", " + column); 176 * @throws IndexOutOfBoundsException if the row is out of range 182 throw new IndexOutOfBoundsException("row " + row); 186 throw new IndexOutOfBoundsException("value count " + values.length); 216 * @throws IndexOutOfBoundsException if any of the rows to be delete [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldBufferedWriterTest.java | 159 fail("Test 2: IndexOutOfBoundsException expected."); 160 } catch (IndexOutOfBoundsException e) { 166 fail("Test 3: IndexOutOfBoundsException expected."); 167 } catch (IndexOutOfBoundsException e) { 173 fail("Test 4: IndexOutOfBoundsException expected."); 174 } catch (IndexOutOfBoundsException e) { 180 fail("Test 5: IndexOutOfBoundsException expected."); 181 } catch (IndexOutOfBoundsException e) { 187 fail("Test 6: IndexOutOfBoundsException expected."); 188 } catch (IndexOutOfBoundsException e) [all...] |
OldFilterInputStreamTest.java | 185 fail("Test 2: IndexOutOfBoundsException expected."); 186 } catch (IndexOutOfBoundsException e) { 192 fail("Test 3: IndexOutOfBoundsException expected."); 193 } catch (IndexOutOfBoundsException e) { 199 fail("Test 4: IndexOutOfBoundsException expected."); 200 } catch (IndexOutOfBoundsException e) { 206 fail("Test 5: IndexOutOfBoundsException expected."); 207 } catch (IndexOutOfBoundsException e) { 213 fail("Test 6: IndexOutOfBoundsException expected."); 214 } catch (IndexOutOfBoundsException e) [all...] |
OldInputStreamReaderTest.java | 75 fail("Should throw IndexOutOfBoundsException"); 76 } catch (IndexOutOfBoundsException e) { 81 fail("Should throw IndexOutOfBoundsException"); 82 } catch (IndexOutOfBoundsException e) { 87 fail("Should throw IndexOutOfBoundsException"); 88 } catch (IndexOutOfBoundsException e) { 93 fail("Should throw IndexOutOfBoundsException"); 94 } catch (IndexOutOfBoundsException e) { 99 fail("Should throw IndexOutOfBoundsException"); 100 } catch (IndexOutOfBoundsException e) [all...] |
OldPushbackInputStreamTest.java | 148 fail("IndexOutOfBoundsException was not thrown"); 149 } catch (IndexOutOfBoundsException e) { 154 fail("IndexOutOfBoundsException was not thrown"); 155 } catch (IndexOutOfBoundsException e) { 160 fail("IndexOutOfBoundsException was not thrown"); 161 } catch (IndexOutOfBoundsException e) { 284 fail("IndexOutOfBoundsException was not thrown"); 285 } catch (IndexOutOfBoundsException e) { 292 fail("IndexOutOfBoundsException was not thrown"); 293 } catch (IndexOutOfBoundsException e) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
ShortBufferTest.java | 289 } catch (IndexOutOfBoundsException e) { 296 } catch (IndexOutOfBoundsException e) { 309 } catch (IndexOutOfBoundsException e) { 316 } catch (IndexOutOfBoundsException expected) { 321 } catch (IndexOutOfBoundsException e) { 345 } catch (IndexOutOfBoundsException e) { 351 } catch (IndexOutOfBoundsException e) { 443 } catch (IndexOutOfBoundsException e) { 449 } catch (IndexOutOfBoundsException e) { 457 } catch (IndexOutOfBoundsException e) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
ConcurrentModTest.java | 62 fail("IndexOutOfBoundsException expected"); 63 } catch (IndexOutOfBoundsException ee) { 69 fail("IndexOutOfBoundsException expected"); 70 } catch (IndexOutOfBoundsException ee) { 166 fail("IndexOutOfBoundsException expected"); 167 } catch (IndexOutOfBoundsException ee) { 173 fail("IndexOutOfBoundsException expected"); 174 } catch (IndexOutOfBoundsException ee) { 390 fail("IndexOutOfBoundsException expected"); 391 } catch (IndexOutOfBoundsException ee) [all...] |
ArrayListTest.java | 131 fail("Should throw IndexOutOfBoundsException"); 132 } catch (IndexOutOfBoundsException e) { 139 fail("Should throw IndexOutOfBoundsException"); 140 } catch (IndexOutOfBoundsException e) { 147 fail("Should throw IndexOutOfBoundsException"); 148 } catch (IndexOutOfBoundsException e) { 155 fail("Should throw IndexOutOfBoundsException"); 156 } catch (IndexOutOfBoundsException e) { 240 fail("IndexOutOfBoundsException expected"); 241 } catch (IndexOutOfBoundsException e) [all...] |
BitSetTest.java | 122 } catch (IndexOutOfBoundsException expected) { 156 fail("Should throw IndexOutOfBoundsException"); 157 } catch (IndexOutOfBoundsException e) { 162 public void test_clearII() throws IndexOutOfBoundsException { 298 } catch (IndexOutOfBoundsException expected) { 304 } catch (IndexOutOfBoundsException expected) { 314 } catch (IndexOutOfBoundsException expected) { 364 } catch (IndexOutOfBoundsException expected) { 389 fail("Should throw IndexOutOfBoundsException"); 390 } catch (IndexOutOfBoundsException e) [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
SpannableStringBuilderTest.java | 129 fail("should throw IndexOutOfBoundsException here"); 130 } catch (IndexOutOfBoundsException e) { 136 fail("should throw ..IndexOutOfBoundsException here"); 137 } catch (IndexOutOfBoundsException e) { 183 fail("should throw IndexOutOfBoundsException here"); 184 } catch (IndexOutOfBoundsException e) { 190 fail("should throw IndexOutOfBoundsException here"); 191 } catch (IndexOutOfBoundsException e) { 242 fail("should throw IndexOutOfBoundsException here"); 243 } catch (IndexOutOfBoundsException e) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
UCharacterSurrogateTest.java | 273 test.fail("a", -1, 0, IndexOutOfBoundsException.class); 274 test.fail("a", 1, 2, IndexOutOfBoundsException.class); 275 test.fail("a", 1, 0, IndexOutOfBoundsException.class); 381 test.fail("abc", -1, 0, IndexOutOfBoundsException.class); 382 test.fail("abc", 4, 0, IndexOutOfBoundsException.class); 383 test.fail("abc", 1, -2, IndexOutOfBoundsException.class); 384 test.fail("abc", 2, 2, IndexOutOfBoundsException.class); 386 test.fail(abc, -1, 2, 0, 0, IndexOutOfBoundsException.class); 387 test.fail(abc, 2, 2, 3, 0, IndexOutOfBoundsException.class); 388 test.fail(abc, 1, -1, 0, 0, IndexOutOfBoundsException.class) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
UCharacterSurrogateTest.java | 270 test.fail("a", -1, 0, IndexOutOfBoundsException.class); 271 test.fail("a", 1, 2, IndexOutOfBoundsException.class); 272 test.fail("a", 1, 0, IndexOutOfBoundsException.class); 378 test.fail("abc", -1, 0, IndexOutOfBoundsException.class); 379 test.fail("abc", 4, 0, IndexOutOfBoundsException.class); 380 test.fail("abc", 1, -2, IndexOutOfBoundsException.class); 381 test.fail("abc", 2, 2, IndexOutOfBoundsException.class); 383 test.fail(abc, -1, 2, 0, 0, IndexOutOfBoundsException.class); 384 test.fail(abc, 2, 2, 3, 0, IndexOutOfBoundsException.class); 385 test.fail(abc, 1, -1, 0, 0, IndexOutOfBoundsException.class) [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
AtomicIntegerArrayTest.java | 61 * get and set for out of bound indices throw IndexOutOfBoundsException 69 } catch (IndexOutOfBoundsException success) {} 73 } catch (IndexOutOfBoundsException success) {} 77 } catch (IndexOutOfBoundsException success) {} 81 } catch (IndexOutOfBoundsException success) {} 85 } catch (IndexOutOfBoundsException success) {} 89 } catch (IndexOutOfBoundsException success) {} 93 } catch (IndexOutOfBoundsException success) {}
|
AtomicLongArrayTest.java | 60 * get and set for out of bound indices throw IndexOutOfBoundsException 68 } catch (IndexOutOfBoundsException success) {} 72 } catch (IndexOutOfBoundsException success) {} 76 } catch (IndexOutOfBoundsException success) {} 80 } catch (IndexOutOfBoundsException success) {} 84 } catch (IndexOutOfBoundsException success) {} 88 } catch (IndexOutOfBoundsException success) {} 92 } catch (IndexOutOfBoundsException success) {}
|
AtomicReferenceArrayTest.java | 76 * get and set for out of bound indices throw IndexOutOfBoundsException 84 } catch (IndexOutOfBoundsException success) {} 88 } catch (IndexOutOfBoundsException success) {} 92 } catch (IndexOutOfBoundsException success) {} 96 } catch (IndexOutOfBoundsException success) {} 100 } catch (IndexOutOfBoundsException success) {}
|
/libcore/ojluni/src/main/java/java/util/ |
ArrayList.java | 433 * @throws IndexOutOfBoundsException {@inheritDoc} 437 throw new IndexOutOfBoundsException(outOfBoundsMsg(index)); 449 * @throws IndexOutOfBoundsException {@inheritDoc} 453 throw new IndexOutOfBoundsException(outOfBoundsMsg(index)); 479 * @throws IndexOutOfBoundsException {@inheritDoc} 483 throw new IndexOutOfBoundsException(outOfBoundsMsg(index)); 499 * @throws IndexOutOfBoundsException {@inheritDoc} 503 throw new IndexOutOfBoundsException(outOfBoundsMsg(index)); 608 * @throws IndexOutOfBoundsException {@inheritDoc} 613 throw new IndexOutOfBoundsException(outOfBoundsMsg(index)) [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
InputStreamBuffer.java | 129 public byte get(final int index) throws IllegalStateException, IndexOutOfBoundsException { 137 throw new IndexOutOfBoundsException( 159 public boolean has(final int index) throws IllegalStateException, IndexOutOfBoundsException { 187 public void advanceTo(final int index) throws IllegalStateException, IndexOutOfBoundsException { 322 throw new IndexOutOfBoundsException(
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
InputStreamBuffer.java | 129 public byte get(final int index) throws IllegalStateException, IndexOutOfBoundsException { 137 throw new IndexOutOfBoundsException( 159 public boolean has(final int index) throws IllegalStateException, IndexOutOfBoundsException { 187 public void advanceTo(final int index) throws IllegalStateException, IndexOutOfBoundsException { 322 throw new IndexOutOfBoundsException(
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
PipedReaderTest.java | 208 } catch (IndexOutOfBoundsException expected) { 219 } catch (IndexOutOfBoundsException expected) { 230 } catch (IndexOutOfBoundsException expected) { 241 } catch (IndexOutOfBoundsException expected) { 351 fail("should throw IndexOutOfBoundsException"); //$NON-NLS-1$ 352 } catch (IndexOutOfBoundsException e) {
|
RandomAccessFileTest.java | 578 fail("should throw IndexOutOfBoundsException"); 579 } catch (IndexOutOfBoundsException e) { 585 fail("should throw IndexOutOfBoundsException"); 586 } catch (IndexOutOfBoundsException e) { 592 fail("should throw IndexOutOfBoundsException"); 593 } catch (IndexOutOfBoundsException e) { 599 fail("should throw IndexOutOfBoundsException"); 600 } catch (IndexOutOfBoundsException e) { 611 fail("should throw IndexOutOfBoundsException"); 612 } catch (IndexOutOfBoundsException e) [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
ByteArrayListTest.java | 155 fail("IndexOutOfBoundsException not thrown"); 156 } catch (IndexOutOfBoundsException e) { 223 fail("IndexOutOfBoundsException not thrown"); 224 } catch (IndexOutOfBoundsException e) { 231 fail("IndexOutOfBoundsException not thrown"); 232 } catch (IndexOutOfBoundsException e) { 240 fail("IndexOutOfBoundsException not thrown"); 241 } catch (IndexOutOfBoundsException e) { 248 fail("IndexOutOfBoundsException not thrown"); 249 } catch (IndexOutOfBoundsException e) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
CharacterTest.java | 126 } catch (IndexOutOfBoundsException e) { 132 } catch (IndexOutOfBoundsException e) { 152 } catch (IndexOutOfBoundsException e) { 158 } catch (IndexOutOfBoundsException e) { 179 } catch (IndexOutOfBoundsException e) { 185 } catch (IndexOutOfBoundsException e) { 191 } catch (IndexOutOfBoundsException e) { 197 } catch (IndexOutOfBoundsException e) { 218 } catch (IndexOutOfBoundsException e) { 224 } catch (IndexOutOfBoundsException e) [all...] |
/external/guava/guava/src/com/google/common/base/ |
Preconditions.java | 288 * @throws IndexOutOfBoundsException if {@code index} is negative or is not less than {@code size} 303 * @throws IndexOutOfBoundsException if {@code index} is negative or is not less than {@code size} 310 throw new IndexOutOfBoundsException(badElementIndex(index, size, desc)); 332 * @throws IndexOutOfBoundsException if {@code index} is negative or is greater than {@code size} 347 * @throws IndexOutOfBoundsException if {@code index} is negative or is greater than {@code size} 353 throw new IndexOutOfBoundsException(badPositionIndex(index, size, desc)); 376 * @throws IndexOutOfBoundsException if either index is negative or is greater than {@code size}, 383 throw new IndexOutOfBoundsException(badPositionIndexes(start, end, size));
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListSetTester.java | 81 fail("set(-1) should throw IndexOutOfBoundsException"); 82 } catch (IndexOutOfBoundsException expected) { 92 fail("set(size) should throw IndexOutOfBoundsException"); 93 } catch (IndexOutOfBoundsException expected) { 115 + "or IndexOutOfBoundsException"); 117 } catch (IndexOutOfBoundsException tolerated) {
|
/external/proguard/src/proguard/evaluation/ |
Variables.java | 176 throw new IndexOutOfBoundsException("Variable index ["+index+"] out of bounds ["+size+"]"); 191 throw new IndexOutOfBoundsException("Variable index ["+index+"] out of bounds ["+size+"]"); 213 throw new IndexOutOfBoundsException("Variable index ["+index+"] out of bounds ["+size+"]");
|