HomeSort by relevance Sort by last modified time
    Searched refs:StringIndexOutOfBoundsException (Results 1 - 25 of 57) sorted by null

1 2 3

  /libcore/luni/src/main/java/java/lang/
StringIndexOutOfBoundsException.java 24 public class StringIndexOutOfBoundsException extends IndexOutOfBoundsException {
29 * Constructs a new {@code StringIndexOutOfBoundsException} that includes
32 public StringIndexOutOfBoundsException() {
36 * Constructs a new {@code StringIndexOutOfBoundsException} with the current
43 public StringIndexOutOfBoundsException(int index) {
48 * Constructs a new {@code StringIndexOutOfBoundsException} with the current
54 public StringIndexOutOfBoundsException(String detailMessage) {
62 public StringIndexOutOfBoundsException(String s, int index) {
70 public StringIndexOutOfBoundsException(int sourceLength, int index) {
78 public StringIndexOutOfBoundsException(String s, int offset, int count)
    [all...]
AbstractStringBuilder.java 211 private StringIndexOutOfBoundsException indexAndLength(int index) {
212 throw new StringIndexOutOfBoundsException(count, index);
215 private StringIndexOutOfBoundsException startEndAndLength(int start, int end) {
216 throw new StringIndexOutOfBoundsException(count, start, end - start);
334 throw new StringIndexOutOfBoundsException("this.length=" + count
561 throw new StringIndexOutOfBoundsException("length < 0: " + length);
587 * @throws StringIndexOutOfBoundsException
612 * @throws StringIndexOutOfBoundsException
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
StringIndexOutOfBoundsExceptionTest.java 25 * @tests java.lang.StringIndexOutOfBoundsException#StringIndexOutOfBoundsException()
28 StringIndexOutOfBoundsException e = new StringIndexOutOfBoundsException();
35 * @tests 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 613 fail("should throw StringIndexOutOfBoundsException");
614 } catch (StringIndexOutOfBoundsException e) {
619 fail("should throw StringIndexOutOfBoundsException");
620 } catch (StringIndexOutOfBoundsException e) {
625 fail("should throw StringIndexOutOfBoundsException");
626 } catch (StringIndexOutOfBoundsException e) {
631 fail("should throw StringIndexOutOfBoundsException");
632 } catch (StringIndexOutOfBoundsException e) {
639 } catch (StringIndexOutOfBoundsException expected) {
645 } 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) {
String2Test.java 437 fail("Expected StringIndexOutOfBoundsException");
438 } catch (StringIndexOutOfBoundsException e) {
740 } catch (StringIndexOutOfBoundsException ex) {
747 } catch (StringIndexOutOfBoundsException ex) {
754 } catch (StringIndexOutOfBoundsException ex) {
    [all...]
  /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...]
StringIndexOutOfBoundsExceptionTest.java 26 } catch (StringIndexOutOfBoundsException ex) {
33 } catch (StringIndexOutOfBoundsException ex) {
42 } catch (StringIndexOutOfBoundsException ex) {
  /cts/tests/tests/text/src/android/text/cts/
SpannedStringTest.java 63 } catch (StringIndexOutOfBoundsException e) {
69 } catch (StringIndexOutOfBoundsException e) {
AlteredCharSequenceTest.java 42 fail("should raise a StringIndexOutOfBoundsException.");
43 } catch (StringIndexOutOfBoundsException e) {
49 fail("should raise a StringIndexOutOfBoundsException.");
50 } catch (StringIndexOutOfBoundsException e) {
81 fail("should raise a StringIndexOutOfBoundsException.");
82 } catch (StringIndexOutOfBoundsException e) {
126 fail("Should throw StringIndexOutOfBoundsException!");
127 } catch (StringIndexOutOfBoundsException e) {
SpannableStringTest.java 117 } catch (StringIndexOutOfBoundsException e) {
123 } catch (StringIndexOutOfBoundsException e) {
SpannableStringBuilderTest.java 64 fail("should throw StringIndexOutOfBoundsException");
65 } catch (StringIndexOutOfBoundsException e) {
71 fail("should throw StringIndexOutOfBoundsException");
72 } catch (StringIndexOutOfBoundsException e) {
78 fail("should throw StringIndexOutOfBoundsException");
79 } catch (StringIndexOutOfBoundsException e) {
342 fail("should throw StringIndexOutOfBoundsException here");
343 } catch (StringIndexOutOfBoundsException e) {
349 fail("should throw StringIndexOutOfBoundsException here");
350 } catch (StringIndexOutOfBoundsException e)
    [all...]
TextUtils_SimpleStringSplitterTest.java 78 fail("Should throw StringIndexOutOfBoundsException!");
79 } catch (StringIndexOutOfBoundsException e) {
LoginFilterTest.java 95 fail("should throw StringIndexOutOfBoundsException" +
97 } catch (StringIndexOutOfBoundsException e) {
  /dalvik/tests/020-string/src/
Main.java 53 } catch (StringIndexOutOfBoundsException sioobe) {
  /libcore/luni/src/main/java/java/io/
Writer.java 162 throw new StringIndexOutOfBoundsException(str, offset, count);
OutputStreamWriter.java 314 throw new StringIndexOutOfBoundsException(str, offset, count);
320 throw new StringIndexOutOfBoundsException(str, offset, count);
CharArrayWriter.java 197 * @throws StringIndexOutOfBoundsException
208 throw new StringIndexOutOfBoundsException(str, offset, count);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
ATResponseParser.java 145 } catch (StringIndexOutOfBoundsException ex) {
  /cts/tools/dasm/src/dasm/
Utils.java 111 } catch (StringIndexOutOfBoundsException e) {
  /dalvik/tests/082-inline-execute/src/
Main.java 85 } catch (StringIndexOutOfBoundsException sioobe) {
91 } catch (StringIndexOutOfBoundsException sioobe) {
  /libcore/luni/src/test/java/libcore/java/io/
OldBufferedWriterTest.java 273 fail("Test 2: StringIndexOutOfBoundsException expected.");
274 } catch (StringIndexOutOfBoundsException e) {
280 fail("Test 3: StringIndexOutOfBoundsException expected.");
281 } catch (StringIndexOutOfBoundsException e) {
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
CharArrayWriterTest.java 157 throws StringIndexOutOfBoundsException {
OutputStreamWriterTest.java 224 } catch (StringIndexOutOfBoundsException e) {
230 } catch (StringIndexOutOfBoundsException e) {
242 } catch (StringIndexOutOfBoundsException e) {
253 // Throws NullPointerException before StringIndexOutOfBoundsException
286 fail("should throw StringIndexOutOfBoundsException");
287 } catch (StringIndexOutOfBoundsException e) {

Completed in 452 milliseconds

1 2 3