/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
KeyGeneratorSpiTest.java | 74 fail("IllegalArgumentException must be thrown"); 75 } catch (IllegalArgumentException e) { 79 fail("IllegalArgumentException must be thrown"); 80 } catch (IllegalArgumentException e) {
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
RC5ParameterSpecTest.java | 39 * testing. Tests that IllegalArgumentException is thrown in the case of 51 fail("An IllegalArgumentException should be thrown " 53 } catch (IllegalArgumentException e) { 58 fail("An IllegalArgumentException should be thrown " 60 } catch (IllegalArgumentException e) { 65 fail("An IllegalArgumentException should be thrown " 67 } catch (IllegalArgumentException e) { 80 * offset) method testing. Tests that IllegalArgumentException is thrown in 93 fail("An IllegalArgumentException should be thrown " 95 } catch (IllegalArgumentException e) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
ContentHandlerFactoryTest.java | 108 } catch (IllegalArgumentException e) { 109 fail("IllegalArgumentException was thrown during setUp: " 122 } catch (IllegalArgumentException e) { 123 fail("IllegalArgumentException was thrown during tearDown: "
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KSPrivateKeyEntryTest.java | 76 * and throws IllegalArgumentException when chain length is 0 89 fail("IllegalArgumentException must be thrown when chain length is 0"); 90 } catch (IllegalArgumentException e) { 96 * Assertion: throws IllegalArgumentException when chain contains certificates 103 fail("IllegalArgumentException must be thrown when chain contains certificates of different types"); 104 } catch (IllegalArgumentException e) { 111 * Assertion: throws IllegalArgumentException when algorithm of privateKey 118 fail("IllegalArgumentException must be thrown when key algorithms do not match"); 119 } catch (IllegalArgumentException e) {
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLEngineResultHandshakeStatusTest.java | 68 fail("IllegalArgumentException should be thrown for " + str_invalid[i]); 69 } catch (IllegalArgumentException iae) { 77 fail("NullPointerException/IllegalArgumentException should be thrown for NULL parameter"); 80 } catch (IllegalArgumentException iae) {
|
SSLEngineResultStatusTest.java | 75 fail("IllegalArgumentException should be thrown for " + str_invalid[i]); 76 } catch (IllegalArgumentException iae) { 84 fail("NullPointerException/IllegalArgumentException should be thrown for NULL parameter"); 87 } catch (IllegalArgumentException iae) {
|
SSLEngineResultTest.java | 42 * constructor throws IllegalArgumentException when bytesConsumed 54 fail("IllegalArgumentException must be thrown"); 55 } catch (IllegalArgumentException e) { 60 fail("IllegalArgumentException must be thrown"); 61 } catch (IllegalArgumentException e) { 67 fail("IllegalArgumentException must be thrown"); 68 } catch (IllegalArgumentException e) { 75 fail("IllegalArgumentException must be thrown"); 76 } catch (IllegalArgumentException e) {
|
SSLSessionContextTest.java | 34 fail("IllegalArgumentException wasn't thrown"); 35 } catch (IllegalArgumentException iae) { 58 fail("IllegalArgumentException wasn't thrown"); 59 } catch (IllegalArgumentException iae) {
|
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/ |
SAXParserTest.java | 332 fail("java.lang.IllegalArgumentException is not thrown"); 333 } catch(java.lang.IllegalArgumentException iae) { 339 } catch(java.lang.IllegalArgumentException iae) { 340 fail("java.lang.IllegalArgumentException is thrown"); 377 fail("java.lang.IllegalArgumentException is not thrown"); 378 } catch(java.lang.IllegalArgumentException iae) { 388 } catch(java.lang.IllegalArgumentException iae) { 389 fail("java.lang.IllegalArgumentException is thrown"); 427 fail("java.lang.IllegalArgumentException is not thrown"); 428 } catch (IllegalArgumentException expected) [all...] |
/libcore/luni/src/test/java/tests/java/security/ |
SecureRandomTest.java | 153 } catch (IllegalArgumentException e) { 166 } catch (IllegalArgumentException e) { 174 fail("expected IllegalArgumentException"); 179 } catch (IllegalArgumentException e) { 192 } catch (IllegalArgumentException e) { 214 } catch (IllegalArgumentException e) { 226 } catch (IllegalArgumentException e) { 234 fail("expected IllegalArgumentException"); 237 } catch (IllegalArgumentException e) {
|
/packages/apps/Email/src/org/apache/commons/io/filefilter/ |
NameFileFilter.java | 58 * @throws IllegalArgumentException if the name is null
69 * @throws IllegalArgumentException if the name is null
73 throw new IllegalArgumentException("The wildcard must not be null");
86 * @throws IllegalArgumentException if the names array is null
100 * @throws IllegalArgumentException if the names array is null
104 throw new IllegalArgumentException("The array of names must not be null");
114 * @throws IllegalArgumentException if the name list is null
126 * @throws IllegalArgumentException if the name list is null
131 throw new IllegalArgumentException("The list of names must not be null");
|
PrefixFileFilter.java | 59 * @throws IllegalArgumentException if the prefix is null
71 * @throws IllegalArgumentException if the prefix is null
76 throw new IllegalArgumentException("The prefix must not be null");
89 * @throws IllegalArgumentException if the prefix array is null
104 * @throws IllegalArgumentException if the prefix is null
109 throw new IllegalArgumentException("The array of prefixes must not be null");
119 * @throws IllegalArgumentException if the prefix list is null
132 * @throws IllegalArgumentException if the prefix list is null
138 throw new IllegalArgumentException("The list of prefixes must not be null");
|
SuffixFileFilter.java | 60 * @throws IllegalArgumentException if the suffix is null
72 * @throws IllegalArgumentException if the suffix is null
77 throw new IllegalArgumentException("The suffix must not be null");
90 * @throws IllegalArgumentException if the suffix array is null
105 * @throws IllegalArgumentException if the suffix array is null
110 throw new IllegalArgumentException("The array of suffixes must not be null");
120 * @throws IllegalArgumentException if the suffix list is null
133 * @throws IllegalArgumentException if the suffix list is null
139 throw new IllegalArgumentException("The list of suffixes must not be null");
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
EditDistanceTests.java | 98 fail("IllegalArgumentException should be thrown."); 100 assertTrue(e instanceof IllegalArgumentException); 104 fail("IllegalArgumentException should be thrown."); 106 assertTrue(e instanceof IllegalArgumentException);
|
/frameworks/base/core/jni/ |
android_opengl_EGL14.cpp | 105 jniThrowException(_env, "java/lang/IllegalArgumentException", 171 _exceptionType = "java/lang/IllegalArgumentException"; 177 _exceptionType = "java/lang/IllegalArgumentException"; 184 _exceptionType = "java/lang/IllegalArgumentException"; 194 _exceptionType = "java/lang/IllegalArgumentException"; 200 _exceptionType = "java/lang/IllegalArgumentException"; 207 _exceptionType = "java/lang/IllegalArgumentException"; 276 _exceptionType = "java/lang/IllegalArgumentException"; 282 _exceptionType = "java/lang/IllegalArgumentException"; 289 _exceptionType = "java/lang/IllegalArgumentException"; [all...] |
com_google_android_gles_jni_EGLImpl.cpp | 121 jniThrowException(_env, "java/lang/IllegalArgumentException", NULL); 144 jniThrowException(_env, "java/lang/IllegalArgumentException", NULL); 163 jniThrowException(_env, "java/lang/IllegalArgumentException", NULL); 195 jniThrowException(_env, "java/lang/IllegalArgumentException", NULL); 228 jniThrowException(_env, "java/lang/IllegalArgumentException", NULL); 244 jniThrowException(_env, "java/lang/IllegalArgumentException", NULL); 272 jniThrowException(_env, "java/lang/IllegalArgumentException", NULL); 284 jniThrowException(_env, "java/lang/IllegalArgumentException", "Bitmap has no PixelRef"); 316 jniThrowException(_env, "java/lang/IllegalArgumentException", NULL); 324 jniThrowException(_env, "java/lang/IllegalArgumentException", [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
MediaVideoItem.java | 121 throw new IllegalArgumentException(e.getMessage() + " : " + filename); 133 throw new IllegalArgumentException( 141 throw new IllegalArgumentException( 145 throw new IllegalArgumentException( 155 throw new IllegalArgumentException("Unsupported Input File Type"); 165 throw new IllegalArgumentException("Unsupported Video Codec Format in Input File"); 208 * @throws IllegalArgumentException if the start time is greater or equal than 214 throw new IllegalArgumentException("setExtractBoundaries: Invalid start time"); 218 throw new IllegalArgumentException("setExtractBoundaries: Invalid end time"); 222 throw new IllegalArgumentException("setExtractBoundaries: Start time is greater than end time") [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TimerTest.java | 379 // Ensure a Timer throws an IllegalArgumentException if delay is 387 } catch (IllegalArgumentException e) { 391 "Scheduling a task with negative date should throw IllegalArgumentException", 430 } catch (IllegalArgumentException e) { 434 "Scheduling a null task with negative date should throw IllegalArgumentException first", 519 // Ensure a Timer throws an IllegalArgumentException if delay is 526 } catch (IllegalArgumentException e) { 530 "Scheduling a task with negative delay should throw IllegalArgumentException", 553 } catch (IllegalArgumentException e) { 557 "Scheduling a null task with negative delays should throw IllegalArgumentException first" [all...] |
/external/apache-http/src/org/apache/http/protocol/ |
HttpRequestExecutor.java | 109 throw new IllegalArgumentException("HTTP request may not be null"); 112 throw new IllegalArgumentException("Client connection may not be null"); 115 throw new IllegalArgumentException("HTTP context may not be null"); 152 throw new IllegalArgumentException("HTTP request may not be null"); 155 throw new IllegalArgumentException("HTTP processor may not be null"); 158 throw new IllegalArgumentException("HTTP context may not be null"); 189 throw new IllegalArgumentException("HTTP request may not be null"); 192 throw new IllegalArgumentException("HTTP connection may not be null"); 195 throw new IllegalArgumentException("HTTP context may not be null"); 265 throw new IllegalArgumentException("HTTP request may not be null") [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
BassBoost.java | 94 * @throws java.lang.IllegalArgumentException 99 throws IllegalStateException, IllegalArgumentException, 129 * @throws IllegalArgumentException 133 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { 142 * @throws IllegalArgumentException 146 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { 230 * @throws IllegalArgumentException if the string is not correctly formatted. 236 throw new IllegalArgumentException("settings: " + settings); 240 throw new IllegalArgumentException( 246 throw new IllegalArgumentException("invalid key name: " + key) [all...] |
PresetReverb.java | 130 * @throws java.lang.IllegalArgumentException 135 throws IllegalArgumentException, UnsupportedOperationException, RuntimeException { 147 * @throws IllegalArgumentException 151 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { 159 * @throws IllegalArgumentException 163 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { 247 * @throws IllegalArgumentException if the string is not correctly formatted. 253 throw new IllegalArgumentException("settings: " + settings); 257 throw new IllegalArgumentException( 263 throw new IllegalArgumentException("invalid key name: " + key) [all...] |
Virtualizer.java | 96 * @throws java.lang.IllegalArgumentException 101 throws IllegalStateException, IllegalArgumentException, 131 * @throws IllegalArgumentException 135 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { 144 * @throws IllegalArgumentException 148 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { 232 * @throws IllegalArgumentException if the string is not correctly formatted. 238 throw new IllegalArgumentException("settings: " + settings); 242 throw new IllegalArgumentException( 248 throw new IllegalArgumentException("invalid key name: " + key) [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
BidiTest.java | 52 } catch (IllegalArgumentException e) { 60 } catch (IllegalArgumentException e) { 67 } catch (IllegalArgumentException e) { 79 } catch (IllegalArgumentException e) { 87 } catch (IllegalArgumentException e) { 95 } catch (IllegalArgumentException e) { 103 } catch (IllegalArgumentException e) { 111 } catch (IllegalArgumentException e) { 118 } catch (IllegalArgumentException e) { 125 } catch (IllegalArgumentException e) [all...] |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
AttributesNameTest.java | 34 fail("Should throw IllegalArgumentException"); 35 } catch (IllegalArgumentException e) {
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
MacTest.java | 146 * throws IllegalArgumentException when provider is null or empty 158 fail("IllegalArgumentException must be thrown when provider is null"); 159 } catch (IllegalArgumentException e) { 163 fail("IllegalArgumentException must be thrown when provider is empty"); 164 } catch (IllegalArgumentException e) { 185 IllegalArgumentException, NoSuchProviderException { 210 IllegalArgumentException { 226 * Assertion: throws IllegalArgumentException when provider is null 237 fail("IllegalArgumentException must be thrown when provider is null"); 238 } catch (IllegalArgumentException e) [all...] |