Home
last modified time | relevance | path

Searched refs:ArrayIndexOutOfBoundsException (Results 1 – 25 of 74) sorted by relevance

123

/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/
DArray.annotated.java42 ….NonNull java.lang.Object array, int index) throws java.lang.ArrayIndexOutOfBoundsException, java.… in get()
44 ….NonNull java.lang.Object array, int index) throws java.lang.ArrayIndexOutOfBoundsException, java.… in getBoolean()
46 ….NonNull java.lang.Object array, int index) throws java.lang.ArrayIndexOutOfBoundsException, java.… in getByte()
48 ….NonNull java.lang.Object array, int index) throws java.lang.ArrayIndexOutOfBoundsException, java.… in getChar()
50 ….NonNull java.lang.Object array, int index) throws java.lang.ArrayIndexOutOfBoundsException, java.… in getShort()
52 ….NonNull java.lang.Object array, int index) throws java.lang.ArrayIndexOutOfBoundsException, java.… in getInt()
54 ….NonNull java.lang.Object array, int index) throws java.lang.ArrayIndexOutOfBoundsException, java.… in getLong()
56 ….NonNull java.lang.Object array, int index) throws java.lang.ArrayIndexOutOfBoundsException, java.… in getFloat()
58 ….NonNull java.lang.Object array, int index) throws java.lang.ArrayIndexOutOfBoundsException, java.… in getDouble()
60 …bcore.util.Nullable java.lang.Object value) throws java.lang.ArrayIndexOutOfBoundsException, java.… in set()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DArrayIndexOutOfBoundsExceptionTest.java28 ArrayIndexOutOfBoundsException e = new ArrayIndexOutOfBoundsException(-1); in test_ConstructorI()
39 ArrayIndexOutOfBoundsException e = new ArrayIndexOutOfBoundsException(); in test_Constructor()
48 ArrayIndexOutOfBoundsException e = new ArrayIndexOutOfBoundsException("fixture"); in test_ConstructorLjava_lang_String()
/libcore/luni/src/test/java/libcore/libcore/util/
DArrayUtilsTest.java48 @Test(expected = ArrayIndexOutOfBoundsException.class)
53 @Test(expected = ArrayIndexOutOfBoundsException.class)
58 @Test(expected = ArrayIndexOutOfBoundsException.class)
64 @Test(expected = ArrayIndexOutOfBoundsException.class)
69 @Test(expected = ArrayIndexOutOfBoundsException.class)
74 @Test(expected = ArrayIndexOutOfBoundsException.class)
/libcore/ojluni/src/main/java/java/lang/
DArrayIndexOutOfBoundsException.java35 public class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException { class
43 public ArrayIndexOutOfBoundsException() { in ArrayIndexOutOfBoundsException() method in ArrayIndexOutOfBoundsException
53 public ArrayIndexOutOfBoundsException(String s) { in ArrayIndexOutOfBoundsException() method in ArrayIndexOutOfBoundsException
66 public ArrayIndexOutOfBoundsException(int index) { in ArrayIndexOutOfBoundsException() method in ArrayIndexOutOfBoundsException
/libcore/ojluni/src/main/java/java/lang/reflect/
DArray.java180 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in get()
232 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getBoolean()
257 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getByte()
282 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getChar()
307 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getShort()
334 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getInt()
365 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getLong()
398 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getFloat()
433 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getDouble()
471 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in set()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DBufferedOutputStreamTest.java236 } catch (ArrayIndexOutOfBoundsException e) { in test_write_$BII_Exception()
243 } catch (ArrayIndexOutOfBoundsException e) { in test_write_$BII_Exception()
250 } catch (ArrayIndexOutOfBoundsException e) { in test_write_$BII_Exception()
257 } catch (ArrayIndexOutOfBoundsException e) { in test_write_$BII_Exception()
264 } catch (ArrayIndexOutOfBoundsException e) { in test_write_$BII_Exception()
271 } catch (ArrayIndexOutOfBoundsException e) { in test_write_$BII_Exception()
278 } catch (ArrayIndexOutOfBoundsException e) { in test_write_$BII_Exception()
285 } catch (ArrayIndexOutOfBoundsException e) { in test_write_$BII_Exception()
292 } catch (ArrayIndexOutOfBoundsException e) { in test_write_$BII_Exception()
304 } catch (ArrayIndexOutOfBoundsException e) { in test_write_$BII_Exception()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DArrayTest.java53 } catch (ArrayIndexOutOfBoundsException e) { in test_getLjava_lang_ObjectI()
84 } catch (ArrayIndexOutOfBoundsException e) { in test_getLjava_lang_ObjectI()
120 } catch (ArrayIndexOutOfBoundsException e) { in test_getBooleanLjava_lang_ObjectI()
166 } catch (ArrayIndexOutOfBoundsException e) { in test_getByteLjava_lang_ObjectI()
212 } catch (ArrayIndexOutOfBoundsException e) { in test_getCharLjava_lang_ObjectI()
259 } catch (ArrayIndexOutOfBoundsException e) { in test_getDoubleLjava_lang_ObjectI()
305 } catch (ArrayIndexOutOfBoundsException e) { in test_getFloatLjava_lang_ObjectI()
351 } catch (ArrayIndexOutOfBoundsException e) { in test_getIntLjava_lang_ObjectI()
417 } catch (ArrayIndexOutOfBoundsException e) { in test_getLongLjava_lang_ObjectI()
463 } catch (ArrayIndexOutOfBoundsException e) { in test_getShortLjava_lang_ObjectI()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DIvParameterSpecTest.java27 import java.lang.ArrayIndexOutOfBoundsException;
69 } catch(ArrayIndexOutOfBoundsException e) { in testIvParameterSpec2()
80 } catch(ArrayIndexOutOfBoundsException e) { in testIvParameterSpec2()
91 } catch(ArrayIndexOutOfBoundsException e) { in testIvParameterSpec2()
121 } catch (ArrayIndexOutOfBoundsException e) { in testIvParameterSpec2()
DSecretKeySpecTest.java121 } catch (ArrayIndexOutOfBoundsException e) { in testSecretKeySpec2()
134 } catch (ArrayIndexOutOfBoundsException e) { in testSecretKeySpec2()
151 } catch (ArrayIndexOutOfBoundsException e) { in testSecretKeySpec3()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DAttributesImplTest.java318 } catch (ArrayIndexOutOfBoundsException e) { in testSetAttribute()
326 } catch (ArrayIndexOutOfBoundsException e) { in testSetAttribute()
344 } catch (ArrayIndexOutOfBoundsException e) { in testRemoveAttribute()
351 } catch (ArrayIndexOutOfBoundsException e) { in testRemoveAttribute()
369 } catch (ArrayIndexOutOfBoundsException e) { in testSetURI()
376 } catch (ArrayIndexOutOfBoundsException e) { in testSetURI()
394 } catch (ArrayIndexOutOfBoundsException e) { in testSetLocalName()
401 } catch (ArrayIndexOutOfBoundsException e) { in testSetLocalName()
419 } catch (ArrayIndexOutOfBoundsException e) { in testSetQName()
426 } catch (ArrayIndexOutOfBoundsException e) { in testSetQName()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DVectorTest.java169 } catch(ArrayIndexOutOfBoundsException e) { in test_addILjava_lang_Object()
176 } catch(ArrayIndexOutOfBoundsException e) { in test_addILjava_lang_Object()
215 } catch (ArrayIndexOutOfBoundsException e) { in test_addAllILjava_util_Collection()
236 } catch(ArrayIndexOutOfBoundsException e) { in test_addAllILjava_util_Collection()
243 } catch(ArrayIndexOutOfBoundsException e) { in test_addAllILjava_util_Collection()
457 } catch(ArrayIndexOutOfBoundsException e) { in test_elementAtI()
464 } catch(ArrayIndexOutOfBoundsException e) { in test_elementAtI()
612 } catch(ArrayIndexOutOfBoundsException e) { in test_getI()
619 } catch(ArrayIndexOutOfBoundsException e) { in test_getI()
672 } catch (ArrayIndexOutOfBoundsException e) { in test_indexOfLjava_lang_ObjectI()
[all …]
DArraysTest.java453 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$BIIB()
462 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$BIIB()
471 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$BIIB()
515 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$SIIS()
522 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$SIIS()
562 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$CIIC()
569 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$CIIC()
610 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$IIII()
617 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$IIII()
658 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$JIIJ()
[all …]
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DOldAndroidArrayTest.java40 } catch (ArrayIndexOutOfBoundsException abe) { in testSingleInt()
85 } catch (ArrayIndexOutOfBoundsException abe) { in testMultiInt()
103 } catch (ArrayIndexOutOfBoundsException abe) { in testMulti()
124 } catch (ArrayIndexOutOfBoundsException abe) { in testMulti()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/
DAttributes2ImplTest.java177 } catch (ArrayIndexOutOfBoundsException e) { in testRemoveAttribute()
184 } catch (ArrayIndexOutOfBoundsException e) { in testRemoveAttribute()
249 } catch (ArrayIndexOutOfBoundsException e) { in testIsDeclaredInt()
256 } catch (ArrayIndexOutOfBoundsException e) { in testIsDeclaredInt()
298 } catch (ArrayIndexOutOfBoundsException e) { in testIsSpecifiedInt()
305 } catch (ArrayIndexOutOfBoundsException e) { in testIsSpecifiedInt()
353 } catch (ArrayIndexOutOfBoundsException e) { in testSetDeclared()
360 } catch (ArrayIndexOutOfBoundsException e) { in testSetDeclared()
380 } catch (ArrayIndexOutOfBoundsException e) { in testSetSpecified()
387 } catch (ArrayIndexOutOfBoundsException e) { in testSetSpecified()
/libcore/luni/src/test/java/libcore/java/util/
DArraysTest.java631 } catch (ArrayIndexOutOfBoundsException e) { in streamIntStartEnd_Exceptions()
638 } catch (ArrayIndexOutOfBoundsException e) { in streamIntStartEnd_Exceptions()
645 } catch (ArrayIndexOutOfBoundsException e) { in streamIntStartEnd_Exceptions()
652 } catch (ArrayIndexOutOfBoundsException e) { in streamIntStartEnd_Exceptions()
659 } catch (ArrayIndexOutOfBoundsException e) { in streamIntStartEnd_Exceptions()
718 } catch (ArrayIndexOutOfBoundsException e) { in streamLongStartEnd_Exceptions()
725 } catch (ArrayIndexOutOfBoundsException e) { in streamLongStartEnd_Exceptions()
732 } catch (ArrayIndexOutOfBoundsException e) { in streamLongStartEnd_Exceptions()
739 } catch (ArrayIndexOutOfBoundsException e) { in streamLongStartEnd_Exceptions()
746 } catch (ArrayIndexOutOfBoundsException e) { in streamLongStartEnd_Exceptions()
[all …]
/libcore/luni/src/main/java/libcore/util/
DArrayUtils.java34 throw new ArrayIndexOutOfBoundsException("Negative length: " + len); in throwsIfOutOfBounds()
38 throw new ArrayIndexOutOfBoundsException( in throwsIfOutOfBounds()
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DCharacterDataImpl.java73 } catch (ArrayIndexOutOfBoundsException ex) { in insertData()
82 } catch (ArrayIndexOutOfBoundsException ex) { in replaceData()
94 } catch (ArrayIndexOutOfBoundsException ex) { in substringData()
/libcore/luni/src/main/java/org/xml/sax/ext/
DAttributes2Impl.java90 throw new ArrayIndexOutOfBoundsException ( in isDeclared()
138 throw new ArrayIndexOutOfBoundsException ( in isSpecified()
296 throw new ArrayIndexOutOfBoundsException ( in setDeclared()
315 throw new ArrayIndexOutOfBoundsException ( in setSpecified()
/libcore/ojluni/src/main/java/javax/crypto/spec/
DIvParameterSpec.java80 throw new ArrayIndexOutOfBoundsException("offset is negative"); in IvParameterSpec()
83 throw new ArrayIndexOutOfBoundsException("len is negative"); in IvParameterSpec()
/libcore/ojluni/src/main/java/sun/security/util/
DBitArray.java137 public boolean get(int index) throws ArrayIndexOutOfBoundsException { in get()
139 throw new ArrayIndexOutOfBoundsException(Integer.toString(index)); in get()
149 throws ArrayIndexOutOfBoundsException { in set()
151 throw new ArrayIndexOutOfBoundsException(Integer.toString(index)); in set()
/libcore/ojluni/src/main/java/java/util/zip/
DCRC32.java77 throw new ArrayIndexOutOfBoundsException(); in update()
164 throw new ArrayIndexOutOfBoundsException(off); in updateBytesCheck()
169 throw new ArrayIndexOutOfBoundsException(endIndex); in updateBytesCheck()
DInflater.java146 throw new ArrayIndexOutOfBoundsException(); in setInput()
182 throw new ArrayIndexOutOfBoundsException(); in setDictionary()
273 throw new ArrayIndexOutOfBoundsException(); in inflate()
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DBitArray.java56 public boolean get(int index) throws java.lang.ArrayIndexOutOfBoundsException { in get()
60 public void set(int index, boolean value) throws java.lang.ArrayIndexOutOfBoundsException { in set()
/libcore/ojluni/src/test/java/util/Objects/
DCheckIndex.java128 checker.accept(ArrayIndexOutOfBoundsException.class,
130 … Preconditions.outOfBoundsExceptionFormatter(ArrayIndexOutOfBoundsException::new)));
190 check.accept(ArrayIndexOutOfBoundsException.class,
192 … Preconditions.outOfBoundsExceptionFormatter(ArrayIndexOutOfBoundsException::new)));
259 check.accept(ArrayIndexOutOfBoundsException.class,
261 … Preconditions.outOfBoundsExceptionFormatter(ArrayIndexOutOfBoundsException::new)));
DCheckLongIndex.java127 checker.accept(ArrayIndexOutOfBoundsException.class,
129 … Preconditions.outOfBoundsExceptionFormatter(ArrayIndexOutOfBoundsException::new)));
189 check.accept(ArrayIndexOutOfBoundsException.class,
191 … Preconditions.outOfBoundsExceptionFormatter(ArrayIndexOutOfBoundsException::new)));
253 check.accept(ArrayIndexOutOfBoundsException.class,
255 … Preconditions.outOfBoundsExceptionFormatter(ArrayIndexOutOfBoundsException::new)));

123