Searched refs:ArrayIndexOutOfBoundsException (Results 1 - 25 of 30) sorted by relevance

12

/libcore/luni/src/main/java/java/lang/
H A DArrayIndexOutOfBoundsException.java24 public class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException { class in inherits:IndexOutOfBoundsException
29 * Constructs a new {@code ArrayIndexOutOfBoundsException} that includes the
32 public ArrayIndexOutOfBoundsException() { method in class:ArrayIndexOutOfBoundsException
36 * Constructs a new {@code ArrayIndexOutOfBoundsException} with the current
43 public ArrayIndexOutOfBoundsException(int index) { method in class:ArrayIndexOutOfBoundsException
48 * Constructs a new {@code ArrayIndexOutOfBoundsException} with the current
54 public ArrayIndexOutOfBoundsException(String detailMessage) { method in class:ArrayIndexOutOfBoundsException
62 public ArrayIndexOutOfBoundsException(int sourceLength, int index) { method in class:ArrayIndexOutOfBoundsException
70 public ArrayIndexOutOfBoundsException(int sourceLength, int offset, method in class:ArrayIndexOutOfBoundsException
/libcore/luni/src/test/java/libcore/java/lang/
H A DArrayIndexOutOfBoundsExceptionTest.java27 } catch (ArrayIndexOutOfBoundsException ex) {
37 } catch (ArrayIndexOutOfBoundsException ex) {
47 } catch (ArrayIndexOutOfBoundsException ex) {
57 } catch (ArrayIndexOutOfBoundsException ex) {
67 } catch (ArrayIndexOutOfBoundsException ex) {
77 } catch (ArrayIndexOutOfBoundsException ex) {
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DIvParameterSpecTest.java27 import java.lang.ArrayIndexOutOfBoundsException;
69 } catch(ArrayIndexOutOfBoundsException e) {
70 fail("Unexpected ArrayIndexOutOfBoundsException was thrown");
80 } catch(ArrayIndexOutOfBoundsException e) {
81 fail("Unexpected ArrayIndexOutOfBoundsException was thrown");
89 fail("Should raise an ArrayIndexOutOfBoundsException "
91 } catch(ArrayIndexOutOfBoundsException e) {
101 fail("Should raise an ArrayIndexOutOfBoundsException "
103 } catch(ArrayIndexOutOfBoundsException e) {
120 fail("ArrayIndexOutOfBoundsException expecte
[all...]
H A DSecretKeySpecTest.java117 fail("An ArrayIndexOutOfBoundsException should be thrown "
121 } catch (ArrayIndexOutOfBoundsException e) {
133 fail("ArrayIndexOutOfBoundsException expected");
134 } catch (ArrayIndexOutOfBoundsException e) {
147 fail("An ArrayIndexOutOfBoundsException should be thrown "
151 } catch (ArrayIndexOutOfBoundsException e) {
H A DRC5ParameterSpecTest.java130 fail("ArrayIndexOutOfBoundsException expected");
131 } catch (ArrayIndexOutOfBoundsException e) {
/libcore/luni/src/main/java/java/lang/reflect/
H A DArray.java67 * @throws ArrayIndexOutOfBoundsException
70 public static Object get(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException {
111 * @throws ArrayIndexOutOfBoundsException
114 public static boolean getBoolean(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException {
128 * @throws ArrayIndexOutOfBoundsException
131 public static byte getByte(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException {
145 * @throws ArrayIndexOutOfBoundsException
148 public static char getChar(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException {
163 * @throws ArrayIndexOutOfBoundsException
166 public static double getDouble(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException {
[all...]
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DOldAndroidArrayTest.java40 } catch (ArrayIndexOutOfBoundsException abe) {
85 } catch (ArrayIndexOutOfBoundsException abe) {
103 } catch (ArrayIndexOutOfBoundsException abe) {
124 } catch (ArrayIndexOutOfBoundsException abe) {
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DCharacterDataImpl.java73 } catch (ArrayIndexOutOfBoundsException ex) {
82 } catch (ArrayIndexOutOfBoundsException ex) {
94 } catch (ArrayIndexOutOfBoundsException ex) {
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
H A DArrayTest.java53 } catch (ArrayIndexOutOfBoundsException e) {
84 } catch (ArrayIndexOutOfBoundsException e) {
120 } catch (ArrayIndexOutOfBoundsException e) {
166 } catch (ArrayIndexOutOfBoundsException e) {
212 } catch (ArrayIndexOutOfBoundsException e) {
259 } catch (ArrayIndexOutOfBoundsException e) {
305 } catch (ArrayIndexOutOfBoundsException e) {
351 } catch (ArrayIndexOutOfBoundsException e) {
417 } catch (ArrayIndexOutOfBoundsException e) {
463 } catch (ArrayIndexOutOfBoundsException
[all...]
/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/
H A DAttributesImplTest.java317 fail("ArrayIndexOutOfBoundsException expected");
318 } catch (ArrayIndexOutOfBoundsException e) {
325 fail("ArrayIndexOutOfBoundsException expected");
326 } catch (ArrayIndexOutOfBoundsException e) {
343 fail("ArrayIndexOutOfBoundsException expected");
344 } catch (ArrayIndexOutOfBoundsException e) {
350 fail("ArrayIndexOutOfBoundsException expected");
351 } catch (ArrayIndexOutOfBoundsException e) {
368 fail("ArrayIndexOutOfBoundsException expected");
369 } catch (ArrayIndexOutOfBoundsException
[all...]
/libcore/luni/src/test/java/tests/api/org/xml/sax/ext/
H A DAttributes2ImplTest.java176 fail("ArrayIndexOutOfBoundsException expected");
177 } catch (ArrayIndexOutOfBoundsException e) {
183 fail("ArrayIndexOutOfBoundsException expected");
184 } catch (ArrayIndexOutOfBoundsException e) {
248 fail("ArrayIndexOutOfBoundsException expected");
249 } catch (ArrayIndexOutOfBoundsException e) {
255 fail("ArrayIndexOutOfBoundsException expected");
256 } catch (ArrayIndexOutOfBoundsException e) {
297 fail("ArrayIndexOutOfBoundsException expected");
298 } catch (ArrayIndexOutOfBoundsException
[all...]
/libcore/luni/src/main/java/org/xml/sax/ext/
H A DAttributes2Impl.java85 throw new ArrayIndexOutOfBoundsException (
127 * @exception java.lang.ArrayIndexOutOfBoundsException When the
133 throw new ArrayIndexOutOfBoundsException (
284 * @exception java.lang.ArrayIndexOutOfBoundsException When the
291 throw new ArrayIndexOutOfBoundsException (
304 * @exception java.lang.ArrayIndexOutOfBoundsException When the
310 throw new ArrayIndexOutOfBoundsException (
/libcore/luni/src/test/java/tests/api/java/util/
H A DVectorTest.java153 fail("ArrayIndexOutOfBoundsException expected");
154 } catch(ArrayIndexOutOfBoundsException e) {
160 fail("ArrayIndexOutOfBoundsException expected");
161 } catch(ArrayIndexOutOfBoundsException e) {
200 } catch (ArrayIndexOutOfBoundsException e) {
220 fail("ArrayIndexOutOfBoundsException expected");
221 } catch(ArrayIndexOutOfBoundsException e) {
227 fail("ArrayIndexOutOfBoundsException expected");
228 } catch(ArrayIndexOutOfBoundsException e) {
441 fail("ArrayIndexOutOfBoundsException expecte
[all...]
H A DArraysTest.java349 } catch (ArrayIndexOutOfBoundsException e) {
358 } catch (ArrayIndexOutOfBoundsException e) {
367 } catch (ArrayIndexOutOfBoundsException e) {
410 fail("ArrayIndexOutOfBoundsException expected");
411 } catch (ArrayIndexOutOfBoundsException e) {
417 fail("ArrayIndexOutOfBoundsException expected");
418 } catch (ArrayIndexOutOfBoundsException e) {
457 fail("ArrayIndexOutOfBoundsException expected");
458 } catch (ArrayIndexOutOfBoundsException e) {
464 fail("ArrayIndexOutOfBoundsException expecte
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
H A DSHA1_MessageDigestImpl.java197 * @throws ArrayIndexOutOfBoundsException
211 throw new ArrayIndexOutOfBoundsException(offset);
287 * @throws ArrayIndexOutOfBoundsException
298 throw new ArrayIndexOutOfBoundsException(offset);
H A DSHA1withDSA_SignatureImpl.java343 } catch (ArrayIndexOutOfBoundsException e) {
/libcore/luni/src/main/java/javax/crypto/spec/
H A DSecretKeySpec.java90 * @throws ArrayIndexOutOfBoundsException
101 throw new ArrayIndexOutOfBoundsException("len < 0 || offset < 0");
H A DRC5ParameterSpec.java109 * @throws ArrayIndexOutOfBoundsException
117 throw new ArrayIndexOutOfBoundsException("offset < 0: " + offset);
/libcore/support/src/test/java/tests/support/
H A DSupport_StringWriter.java109 * @exception java.lang.ArrayIndexOutOfBoundsException
121 throw new ArrayIndexOutOfBoundsException();
168 * @exception java.lang.ArrayIndexOutOfBoundsException
H A DSupport_StringReader.java167 throw new ArrayIndexOutOfBoundsException();
/libcore/luni/src/main/java/java/util/
H A DArrays.java65 } catch (ArrayIndexOutOfBoundsException e) {
184 * @throws ArrayIndexOutOfBoundsException if {@code startIndex < 0 || endIndex > array.length}
234 * @throws ArrayIndexOutOfBoundsException if {@code startIndex < 0 || endIndex > array.length}
284 * @throws ArrayIndexOutOfBoundsException if {@code startIndex < 0 || endIndex > array.length}
345 * @throws ArrayIndexOutOfBoundsException if {@code startIndex < 0 || endIndex > array.length}
406 * @throws ArrayIndexOutOfBoundsException if {@code startIndex < 0 || endIndex > array.length}
456 * @throws ArrayIndexOutOfBoundsException if {@code startIndex < 0 || endIndex > array.length}
512 * @throws ArrayIndexOutOfBoundsException if {@code startIndex < 0 || endIndex > array.length}
573 * @throws ArrayIndexOutOfBoundsException if {@code startIndex < 0 || endIndex > array.length}
628 * @throws ArrayIndexOutOfBoundsException i
[all...]
H A DVector.java133 * @throws ArrayIndexOutOfBoundsException
172 * @throws ArrayIndexOutOfBoundsException
319 * @throws ArrayIndexOutOfBoundsException
436 * @throws ArrayIndexOutOfBoundsException
537 * @throws ArrayIndexOutOfBoundsException
571 * @throws ArrayIndexOutOfBoundsException
654 * @throws ArrayIndexOutOfBoundsException
788 * @throws ArrayIndexOutOfBoundsException
867 * @throws ArrayIndexOutOfBoundsException
890 * @throws ArrayIndexOutOfBoundsException
[all...]
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DAttributesImpl.java412 * @exception java.lang.ArrayIndexOutOfBoundsException When the
435 * @exception java.lang.ArrayIndexOutOfBoundsException When the
465 * @exception java.lang.ArrayIndexOutOfBoundsException When the
485 * @exception java.lang.ArrayIndexOutOfBoundsException When the
505 * @exception java.lang.ArrayIndexOutOfBoundsException When the
524 * @exception java.lang.ArrayIndexOutOfBoundsException When the
543 * @exception java.lang.ArrayIndexOutOfBoundsException When the
600 * @exception java.lang.ArrayIndexOutOfBoundsException Always.
603 throws ArrayIndexOutOfBoundsException
607 throw new ArrayIndexOutOfBoundsException(ms
[all...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DMessageDigestSpiTest.java107 } catch (ArrayIndexOutOfBoundsException e) {
/libcore/luni/src/main/java/java/util/regex/
H A DMatcher.java148 throw new ArrayIndexOutOfBoundsException(s.length());

Completed in 829 milliseconds

12