Home
last modified time | relevance | path

Searched refs:ArrayIndexOutOfBoundsException (Results 1 – 25 of 64) 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.java38 class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException { class
45 public ArrayIndexOutOfBoundsException() { in ArrayIndexOutOfBoundsException() method in ArrayIndexOutOfBoundsException
55 public ArrayIndexOutOfBoundsException(int index) { in ArrayIndexOutOfBoundsException() method in ArrayIndexOutOfBoundsException
65 public ArrayIndexOutOfBoundsException(String s) { in ArrayIndexOutOfBoundsException() method in ArrayIndexOutOfBoundsException
/libcore/ojluni/src/main/java/java/lang/reflect/
DArray.java179 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in get()
231 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getBoolean()
256 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getByte()
281 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getChar()
306 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getShort()
333 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getInt()
364 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getLong()
397 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getFloat()
432 throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getDouble()
470 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/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/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/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/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/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/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.java36 throw new ArrayIndexOutOfBoundsException("Negative length: " + len); in throwsIfOutOfBounds()
40 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/sun/security/util/
DBitArray.java127 public boolean get(int index) throws ArrayIndexOutOfBoundsException { in get()
129 throw new ArrayIndexOutOfBoundsException(Integer.toString(index)); in get()
139 throws ArrayIndexOutOfBoundsException { in set()
141 throw new ArrayIndexOutOfBoundsException(Integer.toString(index)); in set()
/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/main/java/java/util/zip/
DInflater.java146 throw new ArrayIndexOutOfBoundsException(); in setInput()
182 throw new ArrayIndexOutOfBoundsException(); in setDictionary()
273 throw new ArrayIndexOutOfBoundsException(); in inflate()
DDeflater.java222 throw new ArrayIndexOutOfBoundsException(); in setInput()
258 throw new ArrayIndexOutOfBoundsException(); in setDictionary()
455 throw new ArrayIndexOutOfBoundsException(); in deflate()
/libcore/ojluni/src/main/java/java/util/
DVector.java474 throw new ArrayIndexOutOfBoundsException(index + " >= " + elementCount); in elementAt()
530 throw new ArrayIndexOutOfBoundsException(index + " >= " + in setElementAt()
558 throw new ArrayIndexOutOfBoundsException(index + " >= " + in removeElementAt()
562 throw new ArrayIndexOutOfBoundsException(index); in removeElementAt()
598 throw new ArrayIndexOutOfBoundsException(index in insertElementAt()
748 throw new ArrayIndexOutOfBoundsException(index); in get()
766 throw new ArrayIndexOutOfBoundsException(index); in set()
831 throw new ArrayIndexOutOfBoundsException(index); in remove()
956 throw new ArrayIndexOutOfBoundsException(index); in addAll()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DAdler32Test.java146 } catch (ArrayIndexOutOfBoundsException e) { in test_update$BII()
154 } catch (ArrayIndexOutOfBoundsException e) { in test_update$BII()
DCRC32Test.java163 } catch (ArrayIndexOutOfBoundsException e) { in test_update$BII()
171 } catch (ArrayIndexOutOfBoundsException e) { in test_update$BII()

123