/libcore/ojluni/src/main/java/java/lang/ |
StringIndexOutOfBoundsException.java | 40 class StringIndexOutOfBoundsException extends IndexOutOfBoundsException { 44 * Constructs a {@code StringIndexOutOfBoundsException} with no 49 public StringIndexOutOfBoundsException() { 54 * Constructs a {@code StringIndexOutOfBoundsException} with 59 public StringIndexOutOfBoundsException(String s) { 64 * Constructs a new {@code StringIndexOutOfBoundsException} 69 public StringIndexOutOfBoundsException(int index) { 78 StringIndexOutOfBoundsException(String s, int index) { 86 StringIndexOutOfBoundsException(int sourceLength, int index) { 94 StringIndexOutOfBoundsException(String s, int offset, int count) [all...] |
AbstractStringBuilder.java | 208 throw new StringIndexOutOfBoundsException(newLength); 238 throw new StringIndexOutOfBoundsException(index); 265 throw new StringIndexOutOfBoundsException(index); 294 throw new StringIndexOutOfBoundsException(index); 384 throw new StringIndexOutOfBoundsException(srcBegin); 386 throw new StringIndexOutOfBoundsException(srcEnd); 388 throw new StringIndexOutOfBoundsException("srcBegin > srcEnd"); 408 throw new StringIndexOutOfBoundsException(index); 765 * @throws StringIndexOutOfBoundsException if {@code start} 772 throw new StringIndexOutOfBoundsException(start) [all...] |
String.java | 134 // Android-changed: We make use of new StringIndexOutOfBoundsException constructor signatures. 645 throw new StringIndexOutOfBoundsException(index); 676 throw new StringIndexOutOfBoundsException(index); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
StringIndexOutOfBoundsExceptionTest.java | 25 * java.lang.StringIndexOutOfBoundsException#StringIndexOutOfBoundsException() 28 StringIndexOutOfBoundsException e = new StringIndexOutOfBoundsException(); 35 * java.lang.StringIndexOutOfBoundsException#StringIndexOutOfBoundsException(java.lang.String) 38 StringIndexOutOfBoundsException e = new StringIndexOutOfBoundsException("fixture");
|
StringBuilderTest.java | 558 } catch (StringIndexOutOfBoundsException e) { 565 } catch (StringIndexOutOfBoundsException e) { 572 } catch (StringIndexOutOfBoundsException e) { 607 } catch (StringIndexOutOfBoundsException e) { 614 } catch (StringIndexOutOfBoundsException e) { 621 } catch (StringIndexOutOfBoundsException e) { 788 } catch (StringIndexOutOfBoundsException e) { 796 } catch (StringIndexOutOfBoundsException e) { 831 // } catch (StringIndexOutOfBoundsException e) { 843 // } catch (StringIndexOutOfBoundsException e) [all...] |
StringTest.java | 580 fail("should throw StringIndexOutOfBoundsException"); 581 } catch (StringIndexOutOfBoundsException e) { 586 fail("should throw StringIndexOutOfBoundsException"); 587 } catch (StringIndexOutOfBoundsException e) { 592 fail("should throw StringIndexOutOfBoundsException"); 593 } catch (StringIndexOutOfBoundsException e) { 598 fail("should throw StringIndexOutOfBoundsException"); 599 } catch (StringIndexOutOfBoundsException e) { 606 } catch (StringIndexOutOfBoundsException expected) { 612 } catch (StringIndexOutOfBoundsException expected) [all...] |
StringBuffer2Test.java | 233 // Test for StringIndexOutOfBoundsException 237 } catch (StringIndexOutOfBoundsException e) { 241 assertTrue("Should throw StringIndexOutOfBoundsException", exception); 335 } catch (StringIndexOutOfBoundsException e) { 339 assertTrue("Should throw StringIndexOutOfBoundsException", exception); 357 } catch (StringIndexOutOfBoundsException expected) { 362 } catch (StringIndexOutOfBoundsException e) {
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldStringBufferTest.java | 29 fail("StringIndexOutOfBoundsException was not thrown."); 30 } catch(StringIndexOutOfBoundsException sioobe) { 36 fail("StringIndexOutOfBoundsException was not thrown."); 37 } catch(StringIndexOutOfBoundsException sioobe) { 96 fail("StringIndexOutOfBoundsException is not thrown."); 97 } catch(StringIndexOutOfBoundsException sioobe) { 103 fail("StringIndexOutOfBoundsException is not thrown."); 104 } catch(StringIndexOutOfBoundsException sioobe) { 112 fail("StringIndexOutOfBoundsException is not thrown."); 113 } catch(StringIndexOutOfBoundsException sioobe) [all...] |
StringBuilderTest.java | 73 } catch (StringIndexOutOfBoundsException expected) { 79 } catch (StringIndexOutOfBoundsException expected) { 99 } catch (StringIndexOutOfBoundsException expected) { 106 } catch (StringIndexOutOfBoundsException expected) { 113 } catch (StringIndexOutOfBoundsException expected) {
|
/art/test/632-checker-char-at-bounds/src/ |
Main.java | 34 } catch (StringIndexOutOfBoundsException e) {
|
/cts/tests/tests/text/src/android/text/cts/ |
SpannedStringTest.java | 75 } catch (StringIndexOutOfBoundsException e) { 81 } catch (StringIndexOutOfBoundsException e) {
|
AlteredCharSequenceTest.java | 50 @Test(expected=StringIndexOutOfBoundsException.class) 57 @Test(expected=StringIndexOutOfBoundsException.class) 90 fail("should raise a StringIndexOutOfBoundsException."); 91 } catch (StringIndexOutOfBoundsException e) { 136 fail("Should throw StringIndexOutOfBoundsException!"); 137 } catch (StringIndexOutOfBoundsException e) {
|
TextUtils_SimpleStringSplitterTest.java | 94 fail("Should throw StringIndexOutOfBoundsException!"); 95 } catch (StringIndexOutOfBoundsException e) {
|
/art/test/020-string/src/ |
Main.java | 65 } catch (StringIndexOutOfBoundsException sioobe) { 144 } catch (StringIndexOutOfBoundsException sioobe) { 151 } catch (StringIndexOutOfBoundsException sioobe) { 158 } catch (StringIndexOutOfBoundsException sioobe) {
|
/art/test/536-checker-intrinsic-optimization/src/ |
Main.java | 67 } catch (StringIndexOutOfBoundsException sioob) { 74 } catch (StringIndexOutOfBoundsException sioob) { 81 } catch (StringIndexOutOfBoundsException sioob) { 96 } catch (StringIndexOutOfBoundsException sioob) { 105 } catch (StringIndexOutOfBoundsException sioob) { 197 } catch (StringIndexOutOfBoundsException ignored) {
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
UTF16.java | 309 throw new StringIndexOutOfBoundsException(offset16); 410 throw new StringIndexOutOfBoundsException(offset16); 733 throw new StringIndexOutOfBoundsException(offset32); 746 throw new StringIndexOutOfBoundsException(offset32); 764 throw new StringIndexOutOfBoundsException(offset32); 777 throw new StringIndexOutOfBoundsException(offset32); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
UTF16.java | 331 throw new StringIndexOutOfBoundsException(offset16); 434 throw new StringIndexOutOfBoundsException(offset16); 771 throw new StringIndexOutOfBoundsException(offset32); 784 throw new StringIndexOutOfBoundsException(offset32); 803 throw new StringIndexOutOfBoundsException(offset32); 816 throw new StringIndexOutOfBoundsException(offset32) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
ATResponseParser.java | 145 } catch (StringIndexOutOfBoundsException ex) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
IntlTestDateFormat.java | 87 catch(StringIndexOutOfBoundsException e) { 101 catch(StringIndexOutOfBoundsException e) { 114 catch(StringIndexOutOfBoundsException e) {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
IntlTestDateFormat.java | 84 catch(StringIndexOutOfBoundsException e) { 98 catch(StringIndexOutOfBoundsException e) { 111 catch(StringIndexOutOfBoundsException e) {
|
/libcore/libart/src/main/java/java/lang/ |
StringFactory.java | 79 throw new StringIndexOutOfBoundsException(data.length, offset, byteCount); 265 throw new StringIndexOutOfBoundsException(data.length, offset, charCount); 289 throw new StringIndexOutOfBoundsException(codePoints.length, offset, count);
|
/art/test/201-built-in-except-detail-messages/src/ |
Main.java | 447 } catch (StringIndexOutOfBoundsException ex) { 455 } catch (StringIndexOutOfBoundsException ex) { 463 } catch (StringIndexOutOfBoundsException ex) {
|
/cts/tools/dasm/src/dasm/ |
Utils.java | 111 } catch (StringIndexOutOfBoundsException e) {
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
TextViewActions.java | 377 } catch (StringIndexOutOfBoundsException e) { 437 } catch (StringIndexOutOfBoundsException e) { 527 } catch (StringIndexOutOfBoundsException e) { 537 * @throws StringIndexOutOfBoundsException 541 throw new StringIndexOutOfBoundsException(index);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldBufferedWriterTest.java | 274 fail("Test 2: StringIndexOutOfBoundsException expected."); 275 } catch (StringIndexOutOfBoundsException e) { 281 fail("Test 3: StringIndexOutOfBoundsException expected."); 282 } catch (StringIndexOutOfBoundsException e) {
|