/libcore/luni/src/main/java/java/lang/ |
H A D | StringIndexOutOfBoundsException.java | 24 public class StringIndexOutOfBoundsException extends IndexOutOfBoundsException { class in inherits:IndexOutOfBoundsException 29 * Constructs a new {@code StringIndexOutOfBoundsException} that includes 32 public StringIndexOutOfBoundsException() { method in class:StringIndexOutOfBoundsException 36 * Constructs a new {@code StringIndexOutOfBoundsException} with the current 43 public StringIndexOutOfBoundsException(int index) { method in class:StringIndexOutOfBoundsException 48 * Constructs a new {@code StringIndexOutOfBoundsException} with the current 54 public StringIndexOutOfBoundsException(String detailMessage) { method in class:StringIndexOutOfBoundsException 62 public StringIndexOutOfBoundsException(String s, int index) { method in class:StringIndexOutOfBoundsException 70 public StringIndexOutOfBoundsException(int sourceLength, int index) { method in class:StringIndexOutOfBoundsException 78 public StringIndexOutOfBoundsException(Strin method in class:StringIndexOutOfBoundsException 86 public StringIndexOutOfBoundsException(int sourceLength, int offset, method in class:StringIndexOutOfBoundsException [all...] |
H A D | 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
|
H A D | String.java | 578 private StringIndexOutOfBoundsException indexAndLength(int index) { 579 throw new StringIndexOutOfBoundsException(this, index); 582 private StringIndexOutOfBoundsException startEndAndLength(int start, int end) { 583 throw new StringIndexOutOfBoundsException(this, start, end - start); 586 private StringIndexOutOfBoundsException failedBoundsCheck(int arrayLength, int offset, int count) { 587 throw new StringIndexOutOfBoundsException(arrayLength, offset, count); 891 // We throw StringIndexOutOfBoundsException rather than System.arraycopy's AIOOBE.
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | 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 sioob [all...] |
H A D | StringIndexOutOfBoundsExceptionTest.java | 26 } catch (StringIndexOutOfBoundsException ex) { 33 } catch (StringIndexOutOfBoundsException ex) { 42 } catch (StringIndexOutOfBoundsException ex) {
|
/libcore/luni/src/main/java/java/io/ |
H A D | Writer.java | 162 throw new StringIndexOutOfBoundsException(str, offset, count);
|
H A D | OutputStreamWriter.java | 314 throw new StringIndexOutOfBoundsException(str, offset, count); 320 throw new StringIndexOutOfBoundsException(str, offset, count);
|
H A D | CharArrayWriter.java | 197 * @throws StringIndexOutOfBoundsException 208 throw new StringIndexOutOfBoundsException(str, offset, count);
|
H A D | BufferedWriter.java | 271 throw new StringIndexOutOfBoundsException(str, offset, count);
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldBufferedWriterTest.java | 273 fail("Test 2: StringIndexOutOfBoundsException expected."); 274 } catch (StringIndexOutOfBoundsException e) { 280 fail("Test 3: StringIndexOutOfBoundsException expected."); 281 } catch (StringIndexOutOfBoundsException e) {
|
/libcore/luni/src/main/java/java/net/ |
H A D | URLStreamHandler.java | 90 throw new StringIndexOutOfBoundsException(spec, start, end - start);
|