Home
last modified time | relevance | path

Searched refs:StringIndexOutOfBoundsException (Results 1 – 25 of 36) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/lang/
DOldStringBufferTest.java30 } catch(StringIndexOutOfBoundsException sioobe) { in test_deleteCharAtI()
37 } catch(StringIndexOutOfBoundsException sioobe) { in test_deleteCharAtI()
97 } catch(StringIndexOutOfBoundsException sioobe) { in test_insertID()
104 } catch(StringIndexOutOfBoundsException sioobe) { in test_insertID()
113 } catch(StringIndexOutOfBoundsException sioobe) { in test_insertIF()
120 } catch(StringIndexOutOfBoundsException sioobe) { in test_insertIF()
129 } catch(StringIndexOutOfBoundsException sioobe) { in test_insertII()
136 } catch(StringIndexOutOfBoundsException sioobe) { in test_insertII()
145 } catch(StringIndexOutOfBoundsException sioobe) { in test_insertIJ()
152 } catch(StringIndexOutOfBoundsException sioobe) { in test_insertIJ()
[all …]
DStringBuilderTest.java73 } catch (StringIndexOutOfBoundsException expected) { in test_deleteCharAt_boundsChecks()
79 } catch (StringIndexOutOfBoundsException expected) { in test_deleteCharAt_boundsChecks()
99 } catch (StringIndexOutOfBoundsException expected) { in test_delete_boundsChecks()
106 } catch (StringIndexOutOfBoundsException expected) { in test_delete_boundsChecks()
113 } catch (StringIndexOutOfBoundsException expected) { in test_delete_boundsChecks()
DStringTest.java645 } catch (StringIndexOutOfBoundsException expected) { in testGetCharsOverflow()
709 } catch (StringIndexOutOfBoundsException expected) { in assertGetCharsThrowsSIOOBException()
/libcore/ojluni/src/main/java/java/lang/
DStringIndexOutOfBoundsException.java38 public class StringIndexOutOfBoundsException extends IndexOutOfBoundsException { class
46 public StringIndexOutOfBoundsException() { in StringIndexOutOfBoundsException() method in StringIndexOutOfBoundsException
56 public StringIndexOutOfBoundsException(String s) { in StringIndexOutOfBoundsException() method in StringIndexOutOfBoundsException
69 public StringIndexOutOfBoundsException(int index) { in StringIndexOutOfBoundsException() method in StringIndexOutOfBoundsException
78 StringIndexOutOfBoundsException(String s, int index) { in StringIndexOutOfBoundsException() method in StringIndexOutOfBoundsException
86 StringIndexOutOfBoundsException(int sourceLength, int index) { in StringIndexOutOfBoundsException() method in StringIndexOutOfBoundsException
94 StringIndexOutOfBoundsException(String s, int offset, int count) { in StringIndexOutOfBoundsException() method in StringIndexOutOfBoundsException
102 StringIndexOutOfBoundsException(int sourceLength, int offset, in StringIndexOutOfBoundsException() method in StringIndexOutOfBoundsException
DString.java920 throw new StringIndexOutOfBoundsException(index); in codePointBefore()
2485 throw new StringIndexOutOfBoundsException(this, beginIndex); in substring()
2489 throw new StringIndexOutOfBoundsException(this, beginIndex); in substring()
4381 throw new StringIndexOutOfBoundsException("Expect Latin-1 coder.");
4435 throw new StringIndexOutOfBoundsException("index " + index +
4446 throw new StringIndexOutOfBoundsException("offset " + offset +
4461 throw new StringIndexOutOfBoundsException(
4500 throw new StringIndexOutOfBoundsException(
DAbstractStringBuilder.java280 throw new StringIndexOutOfBoundsException(newLength); in setLength()
374 throw new StringIndexOutOfBoundsException(index); in codePointBefore()
1729 throw new StringIndexOutOfBoundsException(
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStringIndexOutOfBoundsExceptionTest.java28 StringIndexOutOfBoundsException e = new StringIndexOutOfBoundsException(); in test_Constructor()
38 StringIndexOutOfBoundsException e = new StringIndexOutOfBoundsException("fixture"); in test_ConstructorLjava_lang_String()
DStringBuilderTest.java558 } catch (StringIndexOutOfBoundsException e) { in test_deleteII()
565 } catch (StringIndexOutOfBoundsException e) { in test_deleteII()
572 } catch (StringIndexOutOfBoundsException e) { in test_deleteII()
607 } catch (StringIndexOutOfBoundsException e) { in test_deleteCharAtI()
614 } catch (StringIndexOutOfBoundsException e) { in test_deleteCharAtI()
621 } catch (StringIndexOutOfBoundsException e) { in test_deleteCharAtI()
788 } catch (StringIndexOutOfBoundsException e) { in test_insertIZ()
796 } catch (StringIndexOutOfBoundsException e) { in test_insertIZ()
899 } catch (StringIndexOutOfBoundsException e) { in test_insertI$C()
907 } catch (StringIndexOutOfBoundsException e) { in test_insertI$C()
[all …]
DStringTest.java581 } catch (StringIndexOutOfBoundsException e) { in test_ConstructorBIIL()
587 } catch (StringIndexOutOfBoundsException e) { in test_ConstructorBIIL()
593 } catch (StringIndexOutOfBoundsException e) { in test_ConstructorBIIL()
599 } catch (StringIndexOutOfBoundsException e) { in test_ConstructorBIIL()
606 } catch (StringIndexOutOfBoundsException expected) { in test_ConstructorBIIL()
612 } catch (StringIndexOutOfBoundsException expected) { in test_ConstructorBIIL()
636 } catch (StringIndexOutOfBoundsException expected) { in test_ConstructorBIIL()
642 } catch (StringIndexOutOfBoundsException expected) { in test_ConstructorBIIL()
DStringBuffer2Test.java237 } catch (StringIndexOutOfBoundsException e) { in test_charAtI()
335 } catch (StringIndexOutOfBoundsException e) { in test_insertI$C()
357 } catch (StringIndexOutOfBoundsException expected) { in test_insertI$CII()
362 } catch (StringIndexOutOfBoundsException e) { in test_insertI$CII()
DString2Test.java437 } catch (StringIndexOutOfBoundsException e) { in test_getBytesII$BI()
745 } catch (StringIndexOutOfBoundsException ex) { in test_substringErrorMessage()
752 } catch (StringIndexOutOfBoundsException ex) { in test_substringErrorMessage()
759 } catch (StringIndexOutOfBoundsException ex) { in test_substringErrorMessage()
/libcore/ojluni/src/test/java/lang/StringBuffer/
DInsertMaxValue.java45 } catch (StringIndexOutOfBoundsException sobe) { in main()
54 } catch (StringIndexOutOfBoundsException sobe) { in main()
DGetCharsSrcEndLarger.java43 } catch (StringIndexOutOfBoundsException sioobe) { in main()
DBufferForwarding.java206 } catch (StringIndexOutOfBoundsException soob) { in insertintObject()
DSupplementary.java331 catch (StringIndexOutOfBoundsException e) { in testCodePoint()
/libcore/ojluni/src/test/java/util/Objects/
DCheckIndex.java131 checker.accept(StringIndexOutOfBoundsException.class,
133 … Preconditions.outOfBoundsExceptionFormatter(StringIndexOutOfBoundsException::new)));
193 check.accept(StringIndexOutOfBoundsException.class,
195 … Preconditions.outOfBoundsExceptionFormatter(StringIndexOutOfBoundsException::new)));
262 check.accept(StringIndexOutOfBoundsException.class,
264 … Preconditions.outOfBoundsExceptionFormatter(StringIndexOutOfBoundsException::new)));
DCheckLongIndex.java130 checker.accept(StringIndexOutOfBoundsException.class,
132 … Preconditions.outOfBoundsExceptionFormatter(StringIndexOutOfBoundsException::new)));
192 check.accept(StringIndexOutOfBoundsException.class,
194 … Preconditions.outOfBoundsExceptionFormatter(StringIndexOutOfBoundsException::new)));
256 check.accept(StringIndexOutOfBoundsException.class,
258 … Preconditions.outOfBoundsExceptionFormatter(StringIndexOutOfBoundsException::new)));
/libcore/libart/src/main/java/java/lang/
DStringFactory.java85 throw new StringIndexOutOfBoundsException(data.length, offset, byteCount); in newStringFromBytes()
122 throw new StringIndexOutOfBoundsException(data.length, offset, charCount); in newStringFromChars()
155 throw new StringIndexOutOfBoundsException(codePoints.length, offset, count); in newStringFromCodePoints()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DOutputStreamWriterTest.java223 } catch (StringIndexOutOfBoundsException e) { in testWriteStringintint()
229 } catch (StringIndexOutOfBoundsException e) { in testWriteStringintint()
241 } catch (StringIndexOutOfBoundsException e) { in testWriteStringintint()
286 } catch (StringIndexOutOfBoundsException e) { in testWriteStringintint()
DCharArrayWriterTest.java157 throws StringIndexOutOfBoundsException { in test_writeLjava_lang_StringII_2()
DBufferedWriterTest.java255 } catch (StringIndexOutOfBoundsException e) { in test_write_LStringII_Exception()
/libcore/luni/src/test/java/libcore/java/io/
DOldBufferedWriterTest.java275 } catch (StringIndexOutOfBoundsException e) { in test_writeLjava_lang_StringII_Exception()
282 } catch (StringIndexOutOfBoundsException e) { in test_writeLjava_lang_StringII_Exception()
/libcore/ojluni/src/test/java/lang/StringBuilder/
DBuilderForwarding.java233 } catch (StringIndexOutOfBoundsException soob) { in insertintObject()
/libcore/ojluni/src/main/java/java/nio/
DByteBufferAsCharBuffer.java340 } catch (StringIndexOutOfBoundsException x) { in toString()
DHeapCharBuffer.java1077 } catch (StringIndexOutOfBoundsException x) { in toString()

12