Method
failedBoundsCheck
(int arrayLength, int offset, int count)
Source from the content-addressed store, hash-verified
| 121 | } |
| 122 | |
| 123 | private StringIndexOutOfBoundsException failedBoundsCheck(int arrayLength, int offset, int count) { |
| 124 | throw new StringIndexOutOfBoundsException(count); |
| 125 | } |
| 126 | |
| 127 | /** |
| 128 | * Allocates a new String that contains characters from a subarray of the character array argument. The offset argument is the index of the first character of the subarray and the count argument specifies the length of the subarray. The contents of the subarray are copied; subsequent modification of the character array does not affect the newly created string. |
Tested by
no test coverage detected