/libcore/ojluni/src/main/java/java/security/spec/ |
ECFieldF2m.java | 50 * @exception IllegalArgumentException if {@code m} 55 throw new IllegalArgumentException("m is not positive"); 80 * @exception IllegalArgumentException if {@code m} 89 throw new IllegalArgumentException("m is not positive"); 94 throw new IllegalArgumentException 127 * @exception IllegalArgumentException if{@code m} 138 throw new IllegalArgumentException("m is not positive"); 141 throw new IllegalArgumentException 146 throw new IllegalArgumentException 150 throw new IllegalArgumentException [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
AccountManagerServiceTest.java | 404 fail("IllegalArgumentException expected. But no exception was thrown."); 405 } catch (IllegalArgumentException e) { 406 // IllegalArgumentException is expected. 421 fail("IllegalArgumentException expected. But no exception was thrown."); 422 } catch (IllegalArgumentException e) { 423 // IllegalArgumentException is expected. [all...] |
/frameworks/base/telephony/java/android/telephony/ |
MbmsDownloadSession.java | 278 * This also may throw an {@link IllegalArgumentException}. 382 * May throw an {@link IllegalStateException} or {@link IllegalArgumentException}. 434 * {@link IllegalArgumentException} will be thrown. In addition, as an additional sanity 435 * check, an {@link IllegalArgumentException} will be thrown if you attempt to set the temp 454 throw new IllegalArgumentException("Unable to canonicalize the provided path: " + e); 482 throw new IllegalArgumentException("Provided directory does not exist"); 485 throw new IllegalArgumentException("Provided File is not a directory"); 489 throw new IllegalArgumentException("Temp file root cannot be your data dir"); 492 throw new IllegalArgumentException("Temp file root cannot be your cache dir"); 495 throw new IllegalArgumentException("Temp file root cannot be your files dir") [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CharsetEncoderTest.java | 148 fail("should throw IllegalArgumentException"); 149 } catch (IllegalArgumentException e) { 153 fail("should throw IllegalArgumentException"); 154 } catch (IllegalArgumentException e) { 160 fail("should throw IllegalArgumentException"); 161 } catch (IllegalArgumentException e) { 165 fail("should throw IllegalArgumentException"); 166 } catch (IllegalArgumentException e) { 196 fail("should throw IllegalArgumentException"); 197 } catch (IllegalArgumentException e) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
SparseFieldVector.java | 137 * @throws IllegalArgumentException If the dimensions don't match 139 public FieldVector<T> add(SparseFieldVector<T> v) throws IllegalArgumentException { 159 public FieldVector<T> add(T[] v) throws IllegalArgumentException { 214 public T dotProduct(FieldVector<T> v) throws IllegalArgumentException { 226 public T dotProduct(T[] v) throws IllegalArgumentException { 243 throws IllegalArgumentException { 255 public FieldVector<T> ebeDivide(T[] v) throws IllegalArgumentException { 267 public FieldVector<T> ebeMultiply(FieldVector<T> v)throws IllegalArgumentException { 279 public FieldVector<T> ebeMultiply(T[] v) throws IllegalArgumentException { 405 * @throws IllegalArgumentException if v is not the same size as {@code this [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPDate.java | 36 import java.lang.IllegalArgumentException; 379 * @throws IllegalArgumentException if w is not a valid day. 381 public void setWkday(String w) throws IllegalArgumentException { 398 throw new IllegalArgumentException("Illegal Week day :" + w); 405 * @throws IllegalArgumentException if d is not a valid day 407 public void setDay(int d) throws IllegalArgumentException { 409 throw new IllegalArgumentException( 417 * @throws IllegalArgumentException if m is not a valid month 419 public void setMonth(String m) throws IllegalArgumentException { 446 throw new IllegalArgumentException("Illegal Month :" + m) [all...] |
/frameworks/base/tests/net/java/com/android/server/ |
IpSecServiceTest.java | 142 fail("IllegalArgumentException not thrown"); 143 } catch (IllegalArgumentException e) { 175 fail("Expected IllegalArgumentException on attempt to access deleted resource"); 176 } catch (IllegalArgumentException expected) { 198 fail("Expected IllegalArgumentException on attempt to access deleted resource"); 199 } catch (IllegalArgumentException expected) { 262 fail("IllegalArgumentException not thrown"); 263 } catch (IllegalArgumentException e) { 268 fail("IllegalArgumentException not thrown"); 269 } catch (IllegalArgumentException e) [all...] |
/libcore/luni/src/test/java/tests/security/spec/ |
EllipticCurveTest.java | 115 * Assertion: throws <code>IllegalArgumentException</code> if 120 * Expected: must throw <code>IllegalArgumentException</code> 134 } catch (IllegalArgumentException ok) {} 146 } catch (IllegalArgumentException ok) {} 158 } catch (IllegalArgumentException ok) {} 170 } catch (IllegalArgumentException ok) {} 176 * Assertion: throws <code>IllegalArgumentException</code> if 181 * Expected: must throw <code>IllegalArgumentException</code> 195 } catch (IllegalArgumentException ok) {} 207 } catch (IllegalArgumentException ok) { [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
FieldTest.java | 209 fail("No expected IllegalArgumentException"); 210 } catch (IllegalArgumentException exc) { 214 assertTrue("IllegalArgumentException expected but not thrown", thrown); 411 Class illegalArgumentExceptionClass = IllegalArgumentException.class; 417 // It will also test if IllegalArgumentException is thrown when the 421 // The test will also check that IllegalArgumentException is thrown for 573 fail("IllegalArgumentException expected but not thrown"); 574 } catch (IllegalArgumentException ex) { 577 fail("IllegalArgumentException expected but not thrown"); 579 assertTrue("IllegalArgumentException expected but not thrown", thrown) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGenerator1Test.java | 136 * Assertion: throws IllegalArgumentException when provider is null or empty 148 fail("IllegalArgumentException must be thrown when provider is null"); 149 } catch (IllegalArgumentException e) { 153 fail("IllegalArgumentException must be thrown when provider is empty"); 154 } catch (IllegalArgumentException e) { 166 IllegalArgumentException { 193 IllegalArgumentException { 222 NoSuchAlgorithmException, IllegalArgumentException { 240 * Assertion: throws IllegalArgumentException when provider is null 251 fail("IllegalArgumentException must be thrown when provider is null") [all...] |
KeyStoreBuilderTest.java | 126 fail("IllegalArgumentException must be thrown because KeyStore was not initialized"); 127 } catch (IllegalArgumentException e) { 195 * IllegalArgumentException if file does not exist or is not file; throws 196 * IllegalArgumentException if ProtectionParameter is not PasswordProtection 238 fail("IllegalArgumentException must be thrown when ProtectionParameter is not correct"); 239 } catch (IllegalArgumentException e) { 245 fail("IllegalArgumentException must be thrown when file does not exist"); 246 } catch (IllegalArgumentException e) { 252 fail("IllegalArgumentException must be thrown when file does not exist"); 253 } catch (IllegalArgumentException e) [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
Preconditions.java | 26 * throw new IllegalArgumentException("must be positive: " + count); 62 * @throws IllegalArgumentException if {@code expression} is false 66 throw new IllegalArgumentException(); 77 * @throws IllegalArgumentException if {@code expression} is false 81 throw new IllegalArgumentException(String.valueOf(errorMessage)); 99 * @throws IllegalArgumentException if {@code expression} is false 107 throw new IllegalArgumentException( 266 * @throws IllegalArgumentException if {@code size} is negative 284 * @throws IllegalArgumentException if {@code size} is negative 298 throw new IllegalArgumentException("negative size: " + size) [all...] |
/frameworks/base/core/jni/ |
android_opengl_GLES32.cpp | 251 jniThrowException(_env, "java/lang/IllegalArgumentException", 367 _exceptionType = "java/lang/IllegalArgumentException"; 373 _exceptionType = "java/lang/IllegalArgumentException"; 384 _exceptionType = "java/lang/IllegalArgumentException"; 430 _exceptionType = "java/lang/IllegalArgumentException"; 498 _exceptionType = "java/lang/IllegalArgumentException"; 504 _exceptionType = "java/lang/IllegalArgumentException"; 511 _exceptionType = "java/lang/IllegalArgumentException"; 552 _exceptionType = "java/lang/IllegalArgumentException"; 559 _exceptionType = "java/lang/IllegalArgumentException"; [all...] |
/art/test/045-reflect-array/src/ |
Main.java | 88 } catch (IllegalArgumentException iae) {} 92 } catch (IllegalArgumentException iae) {} 104 } catch (IllegalArgumentException iae) { 110 } catch (IllegalArgumentException iae) {} 118 } catch (IllegalArgumentException iae) { 144 } catch (IllegalArgumentException iae) {} 191 } catch (IllegalArgumentException iae) {}
|
/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
Asn1Tag.java | 67 throw new IllegalArgumentException("Tags with value > 30 not supported"); 81 throw new IllegalArgumentException("valueLength=" + valueLength); 104 throw new IllegalArgumentException("Tags with value > 30 not supported"); 134 throw new IllegalArgumentException("valueLength=" + valueLength); 164 throw new IllegalArgumentException("Length length too big: " + n + " octets"); 173 throw new IllegalArgumentException("Lengths bigger than 2^^31-1 unsupported: " + bi); 196 throw new IllegalArgumentException("Tags with value > 30 not supported (" + result.tagNumber
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/ |
UnivariateRealSolver.java | 44 * @throws IllegalArgumentException if the accuracy can't be achieved by 73 * @throws IllegalArgumentException if min > max or the endpoints do not 94 * @throws IllegalArgumentException if min > max or the endpoints do not 116 * @throws IllegalArgumentException if min > max or the arguments do not 123 throws ConvergenceException, FunctionEvaluationException, IllegalArgumentException; 139 * @throws IllegalArgumentException if min > max or the arguments do not 146 throws ConvergenceException, FunctionEvaluationException, IllegalArgumentException;
|
/external/apache-http/src/org/apache/http/conn/ |
MultihomePlainSocketFactory.java | 111 throw new IllegalArgumentException("Target host may not be null."); 114 throw new IllegalArgumentException("Parameters may not be null."); 168 * @throws IllegalArgumentException if the argument is invalid 171 throws IllegalArgumentException { 174 throw new IllegalArgumentException("Socket may not be null."); 180 throw new IllegalArgumentException 186 throw new IllegalArgumentException("Socket is closed.");
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
PreconditionsTest.java | 40 } catch (IllegalArgumentException expected) { 52 } catch (IllegalArgumentException expected) { 61 } catch (IllegalArgumentException expected) { 74 } catch (IllegalArgumentException expected) { 180 } catch (IllegalArgumentException expected) { 234 } catch (IllegalArgumentException expected) { 289 } catch (IllegalArgumentException expected) {
|
/external/guava/guava-tests/test/com/google/common/base/ |
PreconditionsTest.java | 42 } catch (IllegalArgumentException expected) { 54 } catch (IllegalArgumentException expected) { 63 } catch (IllegalArgumentException expected) { 76 } catch (IllegalArgumentException expected) { 182 } catch (IllegalArgumentException expected) { 236 } catch (IllegalArgumentException expected) { 291 } catch (IllegalArgumentException expected) {
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
RequestTest.java | 168 } catch (IllegalArgumentException expected) { 173 } catch (IllegalArgumentException expected) { 183 } catch (IllegalArgumentException expected) { 212 } catch (IllegalArgumentException expected) { 217 } catch (IllegalArgumentException expected) { 222 } catch (IllegalArgumentException expected) { 227 } catch (IllegalArgumentException expected) {
|
/frameworks/base/core/java/android/bluetooth/le/ |
AdvertiseData.java | 210 * @throws IllegalArgumentException If the {@code serviceUuids} are null. 214 throw new IllegalArgumentException("serivceUuids are null"); 225 * @throws IllegalArgumentException If the {@code serviceDataUuid} or {@code serviceData} is 230 throw new IllegalArgumentException( 246 * @throws IllegalArgumentException If the {@code manufacturerId} is negative or {@code 251 throw new IllegalArgumentException( 255 throw new IllegalArgumentException("manufacturerSpecificData is null");
|
/frameworks/base/core/java/android/content/pm/ |
VerifierDeviceIdentity.java | 140 private static final long decodeBase32(byte[] input) throws IllegalArgumentException { 169 throw new IllegalArgumentException("base base-32 character: " + group); 177 throw new IllegalArgumentException("illegal start character; will overflow"); 180 throw new IllegalArgumentException("too long; should have 13 characters"); 185 throw new IllegalArgumentException("too short; should have 13 characters"); 212 throws IllegalArgumentException { 217 throw new IllegalArgumentException("bad base-32 characters in input");
|
/frameworks/base/core/java/android/webkit/ |
WebResourceResponse.java | 131 throw new IllegalArgumentException("statusCode can't be less than 100."); 133 throw new IllegalArgumentException("statusCode can't be greater than 599."); 135 throw new IllegalArgumentException("statusCode can't be in the [300, 399] range."); 137 throw new IllegalArgumentException("reasonPhrase can't be null."); 139 throw new IllegalArgumentException("reasonPhrase can't be empty."); 143 throw new IllegalArgumentException( 199 throw new IllegalArgumentException("StringBufferInputStream is deprecated and must " +
|
/frameworks/base/media/jni/ |
android_media_MediaCodecList.cpp | 64 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 75 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 107 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 124 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 149 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 161 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 183 jniThrowException(env, "java/lang/IllegalArgumentException", NULL);
|
/frameworks/base/telephony/java/android/telephony/mbms/vendor/ |
MbmsStreamingServiceBase.java | 47 * May throw an {@link IllegalArgumentException} or a {@link SecurityException}, which 81 throw new IllegalArgumentException( 130 * May throw an {@link IllegalArgumentException} or an {@link IllegalStateException} 150 * May throw an {@link IllegalArgumentException} or an {@link IllegalStateException} 181 throw new IllegalArgumentException( 244 * May throw an {@link IllegalArgumentException} or an {@link IllegalStateException} 265 * May throw an {@link IllegalArgumentException} or an {@link IllegalStateException}
|