Home
last modified time | relevance | path

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

12

/libcore/luni/src/main/java/java/lang/
DArrayIndexOutOfBoundsException.java24 public class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException { class
32 public ArrayIndexOutOfBoundsException() { in ArrayIndexOutOfBoundsException() method in ArrayIndexOutOfBoundsException
43 public ArrayIndexOutOfBoundsException(int index) { in ArrayIndexOutOfBoundsException() method in ArrayIndexOutOfBoundsException
54 public ArrayIndexOutOfBoundsException(String detailMessage) { in ArrayIndexOutOfBoundsException() method in ArrayIndexOutOfBoundsException
62 public ArrayIndexOutOfBoundsException(int sourceLength, int index) { in ArrayIndexOutOfBoundsException() method in ArrayIndexOutOfBoundsException
70 public ArrayIndexOutOfBoundsException(int sourceLength, int offset, in ArrayIndexOutOfBoundsException() method in ArrayIndexOutOfBoundsException
DSystem.java199 throw new ArrayIndexOutOfBoundsException( in arraycopy()
252 throw new ArrayIndexOutOfBoundsException( in arraycopy()
305 throw new ArrayIndexOutOfBoundsException( in arraycopy()
358 throw new ArrayIndexOutOfBoundsException( in arraycopy()
411 throw new ArrayIndexOutOfBoundsException( in arraycopy()
464 throw new ArrayIndexOutOfBoundsException( in arraycopy()
517 throw new ArrayIndexOutOfBoundsException( in arraycopy()
570 throw new ArrayIndexOutOfBoundsException( in arraycopy()
/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()
DStringBufferTest.java180 } catch (ArrayIndexOutOfBoundsException e) { in test_append$CII_2()
330 } catch (ArrayIndexOutOfBoundsException e) { in test_insertIC()
461 } catch (ArrayIndexOutOfBoundsException e) { in test_getCharsII$CI()
/libcore/luni/src/main/java/java/lang/reflect/
DArray.java70 …ject get(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in get()
114 …tBoolean(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getBoolean()
131 … getByte(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getByte()
148 … getChar(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getChar()
166 …etDouble(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getDouble()
196 …getFloat(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getFloat()
224 …t getInt(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getInt()
278 … getLong(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getLong()
304 …getShort(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in getShort()
394 …t array, int index, Object value) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { in set()
[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/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/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.java159 } catch(ArrayIndexOutOfBoundsException e) { in test_addILjava_lang_Object()
166 } catch(ArrayIndexOutOfBoundsException e) { in test_addILjava_lang_Object()
205 } catch (ArrayIndexOutOfBoundsException e) { in test_addAllILjava_util_Collection()
226 } catch(ArrayIndexOutOfBoundsException e) { in test_addAllILjava_util_Collection()
233 } catch(ArrayIndexOutOfBoundsException e) { in test_addAllILjava_util_Collection()
447 } catch(ArrayIndexOutOfBoundsException e) { in test_elementAtI()
454 } catch(ArrayIndexOutOfBoundsException e) { in test_elementAtI()
602 } catch(ArrayIndexOutOfBoundsException e) { in test_getI()
609 } catch(ArrayIndexOutOfBoundsException e) { in test_getI()
662 } catch (ArrayIndexOutOfBoundsException e) { in test_indexOfLjava_lang_ObjectI()
[all …]
DArraysTest.java442 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$BIIB()
451 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$BIIB()
460 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$BIIB()
504 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$SIIS()
511 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$SIIS()
551 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$CIIC()
558 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$CIIC()
599 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$IIII()
606 } catch (ArrayIndexOutOfBoundsException e) { in test_fill$IIII()
647 } 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/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.java85 throw new ArrayIndexOutOfBoundsException ( in isDeclared()
133 throw new ArrayIndexOutOfBoundsException ( in isSpecified()
291 throw new ArrayIndexOutOfBoundsException ( in setDeclared()
310 throw new ArrayIndexOutOfBoundsException ( in setSpecified()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DCRC32Test.java162 } catch (ArrayIndexOutOfBoundsException e) { in test_update$BII()
170 } catch (ArrayIndexOutOfBoundsException e) { in test_update$BII()
DAdler32Test.java145 } catch (ArrayIndexOutOfBoundsException e) { in test_update$BII()
153 } catch (ArrayIndexOutOfBoundsException e) { in test_update$BII()
/libcore/luni/src/main/java/javax/crypto/spec/
DGCMParameterSpec.java77 } catch (ArrayIndexOutOfBoundsException e) { in GCMParameterSpec()
DSecretKeySpec.java101 throw new ArrayIndexOutOfBoundsException("len < 0 || offset < 0"); in SecretKeySpec()
DRC5ParameterSpec.java117 throw new ArrayIndexOutOfBoundsException("offset < 0: " + offset); in RC5ParameterSpec()
/libcore/luni/src/main/java/java/util/
DArrays.java65 } catch (ArrayIndexOutOfBoundsException e) { in get()
657 throw new ArrayIndexOutOfBoundsException(); in checkBinarySearchBounds()
1719 throw new ArrayIndexOutOfBoundsException(arrayLength, offset, in checkOffsetAndCount()
1732 throw new ArrayIndexOutOfBoundsException("start < 0 || end > len." in checkStartAndEnd()
2637 throw new ArrayIndexOutOfBoundsException(); in copyOfRange()
2667 throw new ArrayIndexOutOfBoundsException(); in copyOfRange()
2697 throw new ArrayIndexOutOfBoundsException(); in copyOfRange()
2727 throw new ArrayIndexOutOfBoundsException(); in copyOfRange()
2757 throw new ArrayIndexOutOfBoundsException(); in copyOfRange()
2787 throw new ArrayIndexOutOfBoundsException(); in copyOfRange()
[all …]
/libcore/support/src/test/java/tests/support/
DSupport_StringWriter.java121 throw new ArrayIndexOutOfBoundsException(); in write()
DSupport_StringReader.java167 throw new ArrayIndexOutOfBoundsException(); in read()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DAttributesImpl.java599 throws ArrayIndexOutOfBoundsException in badIndex()
603 throw new ArrayIndexOutOfBoundsException(msg); in badIndex()

12