/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ArrayTest.java | 46 try { Array.getBoolean(bytes, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetBoolean() 47 try { Array.getBoolean(chars, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetBoolean() 48 try { Array.getBoolean(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetBoolean() 49 try { Array.getBoolean(floats, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetBoolean() 50 try { Array.getBoolean(ints, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetBoolean() 51 try { Array.getBoolean(longs, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetBoolean() 52 try { Array.getBoolean(shorts, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetBoolean() 57 try { Array.getByte(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetByte() 59 try { Array.getByte(chars, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetByte() 60 try { Array.getByte(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetByte() [all …]
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlSerializer.java | 50 throws IllegalArgumentException, IllegalStateException; in setFeature() 78 throws IllegalArgumentException, IllegalStateException; in setProperty() 95 throws IOException, IllegalArgumentException, IllegalStateException; in setOutput() 102 throws IOException, IllegalArgumentException, IllegalStateException; in setOutput() 110 throws IOException, IllegalArgumentException, IllegalStateException; in startDocument() 118 throws IOException, IllegalArgumentException, IllegalStateException; in endDocument() 140 throws IOException, IllegalArgumentException, IllegalStateException; in setPrefix() 155 throws IllegalArgumentException; in getPrefix() 210 throws IOException, IllegalArgumentException, IllegalStateException; in startTag() 220 throws IOException, IllegalArgumentException, IllegalStateException; in attribute() [all …]
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldObjectInputStreamGetFieldTest.java | 105 } catch (IllegalArgumentException e) {} in test_defaultedLjava_lang_String() 131 } catch (IllegalArgumentException e) {} in test_getException() 137 } catch (IllegalArgumentException e) {} in test_getException() 143 } catch (IllegalArgumentException e) {} in test_getException() 149 } catch (IllegalArgumentException e) {} in test_getException() 155 } catch (IllegalArgumentException e) {} in test_getException() 161 } catch (IllegalArgumentException e) {} in test_getException() 167 } catch (IllegalArgumentException e) {} in test_getException() 173 } catch (IllegalArgumentException e) {} in test_getException() 179 } catch (IllegalArgumentException e) {} in test_getException() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | IllegalArgumentExceptionTest.java | 30 IllegalArgumentException e = new IllegalArgumentException(); in test_Constructor() 40 IllegalArgumentException e = new IllegalArgumentException("fixture"); in test_ConstructorLjava_lang_String() 50 IllegalArgumentException emptyException = new IllegalArgumentException(emptyThrowable); in test_ConstructorLjava_lang_Throwable() 56 IllegalArgumentException e = new IllegalArgumentException(exception); in test_ConstructorLjava_lang_Throwable() 68 IllegalArgumentException e = new IllegalArgumentException("fixture", in test_ConstructorLjava_lang_StringLjava_lang_Throwable() 78 SerializationTest.verifySelf(new IllegalArgumentException()); in testSerializationSelf() 85 SerializationTest.verifyGolden(this, new IllegalArgumentException()); in testSerializationCompatibility()
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | TimestampTest.java | 74 } catch (IllegalArgumentException expected) { } in testValueOfInvalid() 79 } catch (IllegalArgumentException expected) { } in testValueOfInvalid() 84 } catch (IllegalArgumentException expected) { } in testValueOfInvalid() 89 } catch (IllegalArgumentException expected) { } in testValueOfInvalid() 94 } catch (IllegalArgumentException expected) { } in testValueOfInvalid() 99 } catch (IllegalArgumentException expected) { } in testValueOfInvalid() 104 } catch (IllegalArgumentException expected) { } in testValueOfInvalid() 109 } catch (IllegalArgumentException expected) { } in testValueOfInvalid() 114 } catch (IllegalArgumentException expected) { } in testValueOfInvalid() 119 } catch (IllegalArgumentException expected) { } in testValueOfInvalid() [all …]
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldBidiTest.java | 80 } catch (IllegalArgumentException expected) { in testReorderVisuallyIllegalArguments() 87 } catch (IllegalArgumentException expected) { in testReorderVisuallyIllegalArguments() 94 } catch (IllegalArgumentException expected) { in testReorderVisuallyIllegalArguments() 102 } catch (IllegalArgumentException expected) { in testReorderVisuallyIllegalArguments() 110 } catch (IllegalArgumentException expected) { in testReorderVisuallyIllegalArguments() 119 } catch (IllegalArgumentException expected) { in testRequiresBidiIllegalArguments() 125 } catch (IllegalArgumentException expected) { in testRequiresBidiIllegalArguments() 132 } catch (IllegalArgumentException expected) { in testRequiresBidiIllegalArguments() 139 } catch (IllegalArgumentException expected) { in testRequiresBidiIllegalArguments() 150 } catch (IllegalArgumentException expected) { in testCreateLineBidiIllegalArguments() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | Field.java | 92 throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in get() 95 throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getBoolean() 98 throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getByte() 101 throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getChar() 104 throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getShort() 107 throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getInt() 110 throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getLong() 113 throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getFloat() 116 throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getDouble() 119 throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in set() [all …]
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Field.java | 341 throws IllegalArgumentException, IllegalAccessException; in get() 369 throws IllegalArgumentException, IllegalAccessException; in getBoolean() 397 throws IllegalArgumentException, IllegalAccessException; in getByte() 427 throws IllegalArgumentException, IllegalAccessException; in getChar() 457 throws IllegalArgumentException, IllegalAccessException; in getShort() 487 throws IllegalArgumentException, IllegalAccessException; in getInt() 517 throws IllegalArgumentException, IllegalAccessException; in getLong() 547 throws IllegalArgumentException, IllegalAccessException; in getFloat() 577 throws IllegalArgumentException, IllegalAccessException; in getDouble() 649 throws IllegalArgumentException, IllegalAccessException; in set() [all …]
|
D | Array.java | 113 throws IllegalArgumentException, NegativeArraySizeException { in newInstance() 116 throw new IllegalArgumentException("Bad number of dimensions: " + dimensions.length); in newInstance() 119 throw new IllegalArgumentException("Can't allocate an array of void"); in newInstance() 179 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() [all …]
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/ |
D | Array.annotated.java | 38 …ang.Class<?> componentType, int... dimensions) throws java.lang.IllegalArgumentException, java.lan… in newInstance() 42 …dex) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException { throw n… in get() 44 …dex) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException { throw n… in getBoolean() 46 …dex) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException { throw n… in getByte() 48 …dex) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException { throw n… in getChar() 50 …dex) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException { throw n… in getShort() 52 …dex) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException { throw n… in getInt() 54 …dex) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException { throw n… in getLong() 56 …dex) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException { throw n… in getFloat() 58 …dex) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException { throw n… in getDouble() [all …]
|
D | Field.annotated.java | 58 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in get() 60 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getBoolean() 62 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getByte() 64 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getChar() 66 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getShort() 68 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getInt() 70 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getLong() 72 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getFloat() 74 … java.lang.Object obj) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in getDouble() 76 …ava.lang.Object value) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; in set() [all …]
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | MathContextTest.java | 43 } catch (IllegalArgumentException expected) { in testConstructor() 48 } catch (IllegalArgumentException expected) { in testConstructor() 55 } catch (IllegalArgumentException expected) { in testConstructor() 62 } catch (IllegalArgumentException expected) { in testConstructor() 67 } catch (IllegalArgumentException expected) { in testConstructor() 72 } catch (IllegalArgumentException expected) { in testConstructor() 79 } catch (IllegalArgumentException expected) { in testConstructor() 84 } catch (IllegalArgumentException expected) { in testConstructor()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Time.java | 97 if (s == null) throw new java.lang.IllegalArgumentException(); in valueOf() 108 throw new java.lang.IllegalArgumentException(); in valueOf() 158 throw new java.lang.IllegalArgumentException(); in getYear() 172 throw new java.lang.IllegalArgumentException(); in getMonth() 185 throw new java.lang.IllegalArgumentException(); in getDay() 199 throw new java.lang.IllegalArgumentException(); in getDate() 213 throw new java.lang.IllegalArgumentException(); in setYear() 227 throw new java.lang.IllegalArgumentException(); in setMonth() 241 throw new java.lang.IllegalArgumentException(); in setDate()
|
D | Date.java | 120 throw new java.lang.IllegalArgumentException(); in valueOf() 143 throw new java.lang.IllegalArgumentException(); in valueOf() 187 throw new java.lang.IllegalArgumentException(); in getHours() 201 throw new java.lang.IllegalArgumentException(); in getMinutes() 215 throw new java.lang.IllegalArgumentException(); in getSeconds() 229 throw new java.lang.IllegalArgumentException(); in setHours() 243 throw new java.lang.IllegalArgumentException(); in setMinutes() 257 throw new java.lang.IllegalArgumentException(); in setSeconds()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | IllegalArgumentException.java | 36 class IllegalArgumentException extends RuntimeException { class 41 public IllegalArgumentException() { in IllegalArgumentException() method in IllegalArgumentException 51 public IllegalArgumentException(String s) { in IllegalArgumentException() method in IllegalArgumentException 71 public IllegalArgumentException(String message, Throwable cause) { in IllegalArgumentException() method in IllegalArgumentException 89 public IllegalArgumentException(Throwable cause) { in IllegalArgumentException() method in IllegalArgumentException
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | SimpleTimeZoneTest.java | 71 } catch (IllegalArgumentException e) { in test_ConstructorILjava_lang_StringIIIIIIII() 80 } catch (IllegalArgumentException e) { in test_ConstructorILjava_lang_StringIIIIIIII() 89 } catch (IllegalArgumentException e) { in test_ConstructorILjava_lang_StringIIIIIIII() 98 } catch (IllegalArgumentException e) { in test_ConstructorILjava_lang_StringIIIIIIII() 130 } catch (IllegalArgumentException e) { in test_ConstructorILjava_lang_StringIIIIIIIII() 139 } catch (IllegalArgumentException e) { in test_ConstructorILjava_lang_StringIIIIIIIII() 148 } catch (IllegalArgumentException e) { in test_ConstructorILjava_lang_StringIIIIIIIII() 157 } catch (IllegalArgumentException e) { in test_ConstructorILjava_lang_StringIIIIIIIII() 207 } catch (IllegalArgumentException e) { in test_ConstructorILjava_lang_StringIIIIIIIIIII() 216 } catch (IllegalArgumentException e) { in test_ConstructorILjava_lang_StringIIIIIIIIIII() [all …]
|
/libcore/ojluni/src/main/java/java/text/ |
D | Bidi.java | 121 throw new IllegalArgumentException("paragraph is null"); in Bidi() 156 throw new IllegalArgumentException("paragraph is null"); in Bidi() 182 throw new IllegalArgumentException("text is null"); in Bidi() 185 throw new IllegalArgumentException("bad length: " + paragraphLength); in Bidi() 188 throw new IllegalArgumentException("bad range: " + textStart + in Bidi() 193 throw new IllegalArgumentException("bad range: " + embStart + in Bidi() 220 throw new IllegalArgumentException("Invalid ranges (start=" + lineStart + ", " + in createLineBidi() 301 } catch (IllegalArgumentException e) { in getLevelAt() 376 throw new IllegalArgumentException("Value start " + start + in requiresBidi() 401 throw new IllegalArgumentException("Value levelStart " + in reorderVisually() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | PBEKeySpecTest.java | 76 } catch (IllegalArgumentException e) { in testPBEKeySpec2() 86 } catch (IllegalArgumentException e) { in testPBEKeySpec2() 95 } catch (IllegalArgumentException e) { in testPBEKeySpec2() 102 } catch (IllegalArgumentException e) { in testPBEKeySpec2() 109 } catch (IllegalArgumentException e) { in testPBEKeySpec2() 116 } catch (IllegalArgumentException e) { in testPBEKeySpec2() 123 } catch (IllegalArgumentException e) { in testPBEKeySpec2() 153 } catch (IllegalArgumentException e) { in testPBEKeySpec3() 163 } catch (IllegalArgumentException e) { in testPBEKeySpec3() 173 } catch (IllegalArgumentException e) { in testPBEKeySpec3() [all …]
|
D | SecretKeySpecTest.java | 51 } catch (IllegalArgumentException e) { in testSecretKeySpec1() 58 } catch (IllegalArgumentException e) { in testSecretKeySpec1() 65 } catch (IllegalArgumentException e) { in testSecretKeySpec1() 91 } catch (IllegalArgumentException e) { in testSecretKeySpec2() 98 } catch (IllegalArgumentException e) { in testSecretKeySpec2() 105 } catch (IllegalArgumentException e) { in testSecretKeySpec2() 112 } catch (IllegalArgumentException e) { in testSecretKeySpec2() 119 } catch (IllegalArgumentException e) { in testSecretKeySpec2() 149 } catch (IllegalArgumentException e) { in testSecretKeySpec3()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | UUIDTest.java | 30 } catch (IllegalArgumentException expected) { } in testFromStringInvalidValues() 35 } catch (IllegalArgumentException expected) { } in testFromStringInvalidValues() 40 } catch (IllegalArgumentException expected) { } in testFromStringInvalidValues() 45 } catch (IllegalArgumentException expected) { } in testFromStringInvalidValues() 50 } catch (IllegalArgumentException expected) { } in testFromStringInvalidValues()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | FileLock.java | 151 throw new IllegalArgumentException("Negative position"); in FileLock() 153 throw new IllegalArgumentException("Negative size"); in FileLock() 155 throw new IllegalArgumentException("Negative position + size"); in FileLock() 189 throw new IllegalArgumentException("Negative position"); in FileLock() 191 throw new IllegalArgumentException("Negative size"); in FileLock() 193 throw new IllegalArgumentException("Negative position + size"); in FileLock()
|
/libcore/ojluni/src/main/java/javax/security/auth/x500/ |
D | X500Principal.java | 183 IllegalArgumentException iae = new IllegalArgumentException in X500Principal() 228 IllegalArgumentException iae = new IllegalArgumentException in X500Principal() 268 IllegalArgumentException iae = new IllegalArgumentException in X500Principal() 275 IllegalArgumentException iae = new IllegalArgumentException in X500Principal() 367 throw new IllegalArgumentException("invalid format specified"); in getName() 417 throw new IllegalArgumentException("invalid format specified"); in getName()
|
/libcore/ojluni/src/main/java/java/security/spec/ |
D | ECFieldF2m.java | 55 throw new IllegalArgumentException("m is not positive"); in ECFieldF2m() 89 throw new IllegalArgumentException("m is not positive"); in ECFieldF2m() 94 throw new IllegalArgumentException in ECFieldF2m() 138 throw new IllegalArgumentException("m is not positive"); in ECFieldF2m() 141 throw new IllegalArgumentException in ECFieldF2m() 146 throw new IllegalArgumentException in ECFieldF2m() 150 throw new IllegalArgumentException in ECFieldF2m()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | X509TrustManagerTest.java | 37 } catch (IllegalArgumentException expected) { in test_checkClientTrusted_01() 44 } catch (IllegalArgumentException expected) { in test_checkClientTrusted_01() 51 } catch (IllegalArgumentException expected) { in test_checkClientTrusted_01() 57 } catch (IllegalArgumentException expected) { in test_checkClientTrusted_01() 94 } catch (IllegalArgumentException expected) { in test_checkServerTrusted_01() 101 } catch (IllegalArgumentException expected) { in test_checkServerTrusted_01() 108 } catch (IllegalArgumentException expected) { in test_checkServerTrusted_01() 114 } catch (IllegalArgumentException expected) { in test_checkServerTrusted_01()
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
D | SAXParser.java | 127 throw new IllegalArgumentException("InputStream cannot be null"); in parse() 158 throw new IllegalArgumentException("InputStream cannot be null"); in parse() 183 throw new IllegalArgumentException("InputStream cannot be null"); in parse() 211 throw new IllegalArgumentException("InputStream cannot be null"); in parse() 238 throw new IllegalArgumentException("uri cannot be null"); in parse() 262 throw new IllegalArgumentException("uri cannot be null"); in parse() 287 throw new IllegalArgumentException("File cannot be null"); in parse() 316 throw new IllegalArgumentException("File cannot be null"); in parse() 349 throw new IllegalArgumentException("InputSource cannot be null"); in parse() 380 throw new IllegalArgumentException("InputSource cannot be null"); in parse()
|