/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
TimerTest.java | 336 // Ensure a Timer throws an IllegalArgumentException if delay is 343 fail("Scheduling a task with negative date should throw IllegalArgumentException"); 344 } catch (IllegalArgumentException expected) { 373 fail("Scheduling a null task with negative date should throw IllegalArgumentException first"); 374 } catch (IllegalArgumentException expected) { 442 // Ensure a Timer throws an IllegalArgumentException if delay is 448 fail("Scheduling a task with negative delay should throw IllegalArgumentException"); 449 } catch (IllegalArgumentException expected) { 466 fail("Scheduling a null task with negative delays should throw IllegalArgumentException first"); 467 } catch (IllegalArgumentException expected) [all...] |
/external/guava/guava-tests/test/com/google/common/net/ |
MediaTypeTest.java | 115 } catch (IllegalArgumentException expected) {} 122 } catch (IllegalArgumentException expected) {} 129 } catch (IllegalArgumentException expected) {} 206 } catch (IllegalArgumentException expected) {} 225 } catch (IllegalArgumentException expected) {} 265 } catch (IllegalArgumentException expected) {} 272 } catch (IllegalArgumentException expected) {} 276 } catch (IllegalArgumentException expected) {} 280 } catch (IllegalArgumentException expected) {} 284 } catch (IllegalArgumentException expected) { [all...] |
/frameworks/base/core/jni/ |
android_opengl_GLES30.cpp | 253 jniThrowException(_env, "java/lang/IllegalArgumentException", 369 _exceptionType = "java/lang/IllegalArgumentException"; 375 _exceptionType = "java/lang/IllegalArgumentException"; 386 _exceptionType = "java/lang/IllegalArgumentException"; 432 _exceptionType = "java/lang/IllegalArgumentException"; 480 _exceptionType = "java/lang/IllegalArgumentException"; 592 _exceptionType = "java/lang/IllegalArgumentException"; 674 _exceptionType = "java/lang/IllegalArgumentException"; 735 _exceptionType = "java/lang/IllegalArgumentException"; 799 _exceptionType = "java/lang/IllegalArgumentException"; [all...] |
android_opengl_GLES11Ext.cpp | 253 jniThrowException(_env, "java/lang/IllegalArgumentException", 369 _exceptionType = "java/lang/IllegalArgumentException"; 375 _exceptionType = "java/lang/IllegalArgumentException"; 386 _exceptionType = "java/lang/IllegalArgumentException"; 432 _exceptionType = "java/lang/IllegalArgumentException"; 540 _exceptionType = "java/lang/IllegalArgumentException"; 546 _exceptionType = "java/lang/IllegalArgumentException"; 553 _exceptionType = "java/lang/IllegalArgumentException"; 589 _exceptionType = "java/lang/IllegalArgumentException"; 596 _exceptionType = "java/lang/IllegalArgumentException"; [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
ArrayFieldVector.java | 89 * @throws IllegalArgumentException if <code>d</code> is empty 93 throws IllegalArgumentException { 130 * @throws IllegalArgumentException if <code>d</code> is empty 136 throws NullPointerException, IllegalArgumentException { 257 * @exception IllegalArgumentException if both vectors are empty 310 public FieldVector<T> add(FieldVector<T> v) throws IllegalArgumentException { 324 public FieldVector<T> add(T[] v) throws IllegalArgumentException { 337 * @throws IllegalArgumentException if v is not the same size as this 340 throws IllegalArgumentException { 345 public FieldVector<T> subtract(FieldVector<T> v) throws IllegalArgumentException { [all...] |
/external/apache-http/src/org/apache/http/protocol/ |
HttpRequestExecutor.java | 114 throw new IllegalArgumentException("HTTP request may not be null"); 117 throw new IllegalArgumentException("Client connection may not be null"); 120 throw new IllegalArgumentException("HTTP context may not be null"); 157 throw new IllegalArgumentException("HTTP request may not be null"); 160 throw new IllegalArgumentException("HTTP processor may not be null"); 163 throw new IllegalArgumentException("HTTP context may not be null"); 194 throw new IllegalArgumentException("HTTP request may not be null"); 197 throw new IllegalArgumentException("HTTP connection may not be null"); 200 throw new IllegalArgumentException("HTTP context may not be null"); 270 throw new IllegalArgumentException("HTTP request may not be null") [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
WifiConfigurationHelper.java | 166 * @throws IllegalArgumentException if the input string was not valid JSON or if any mandatory 181 throw new IllegalArgumentException(e); 188 * @throws IllegalArgumentException if any mandatory fields are missing. 237 throw new IllegalArgumentException(); 267 * @throws IllegalArgumentException if the string is not a supported security type. 282 throw new IllegalArgumentException("Security type must be one of NONE, WEP, PSK, or EAP"); 288 * @throws IllegalArgumentException if the string is not a supported EAP method. 300 throw new IllegalArgumentException("EAP method must be one of TLS, TTLS, or PEAP"); 306 * @throws IllegalArgumentException if the string is not a supported phase 2 method. 321 throw new IllegalArgumentException("Phase2 must be one of PAP, MSCHAP, MSCHAPV2, or GTC") [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
BassBoost.java | 87 * @throws java.lang.IllegalArgumentException 92 throws IllegalStateException, IllegalArgumentException, 122 * @throws IllegalArgumentException 126 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { 135 * @throws IllegalArgumentException 139 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { 223 * @throws IllegalArgumentException if the string is not correctly formatted. 229 throw new IllegalArgumentException("settings: " + settings); 233 throw new IllegalArgumentException( 239 throw new IllegalArgumentException("invalid key name: " + key) [all...] |
PresetReverb.java | 122 * @throws java.lang.IllegalArgumentException 127 throws IllegalArgumentException, UnsupportedOperationException, RuntimeException { 139 * @throws IllegalArgumentException 143 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { 151 * @throws IllegalArgumentException 155 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { 239 * @throws IllegalArgumentException if the string is not correctly formatted. 245 throw new IllegalArgumentException("settings: " + settings); 249 throw new IllegalArgumentException( 255 throw new IllegalArgumentException("invalid key name: " + key) [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
ScoringParams.java | 97 public void validate() throws IllegalArgumentException { 106 private void validateRssiArray(int[] rssi) throws IllegalArgumentException { 115 private void validateRange(int k, int low, int high) throws IllegalArgumentException { 117 throw new IllegalArgumentException(); 121 private void validateOrderedNonNegativeArray(int[] a) throws IllegalArgumentException { 125 throw new IllegalArgumentException(); 131 public void parseString(String kvList) throws IllegalArgumentException { 135 throw new IllegalArgumentException("dup keys"); 146 throws IllegalArgumentException { 152 throw new IllegalArgumentException(); [all...] |
/libcore/ojluni/src/main/java/java/sql/ |
Date.java | 105 * @throws IllegalArgumentException if the date given is not in the 119 throw new java.lang.IllegalArgumentException(); 142 throw new java.lang.IllegalArgumentException(); 179 * @exception java.lang.IllegalArgumentException if this method is invoked 184 throw new java.lang.IllegalArgumentException(); 191 * @exception java.lang.IllegalArgumentException if this method is invoked 196 throw new java.lang.IllegalArgumentException(); 203 * @exception java.lang.IllegalArgumentException if this method is invoked 208 throw new java.lang.IllegalArgumentException(); 215 * @exception java.lang.IllegalArgumentException if this method is invoke [all...] |
/external/slf4j/slf4j-api/src/main/java/org/slf4j/ |
MDC.java | 119 * @throws IllegalArgumentException 122 public static void put(String key, String val) throws IllegalArgumentException { 124 throw new IllegalArgumentException("key parameter cannot be null"); 157 * @throws IllegalArgumentException 160 public static MDCCloseable putCloseable(String key, String val) throws IllegalArgumentException { 174 * @throws IllegalArgumentException 177 public static String get(String key) throws IllegalArgumentException { 179 throw new IllegalArgumentException("key parameter cannot be null"); 195 * @throws IllegalArgumentException 198 public static void remove(String key) throws IllegalArgumentException { [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheBuilderSpecTest.java | 68 } catch (IllegalArgumentException expected) { 90 } catch (IllegalArgumentException expected) { 112 } catch (IllegalArgumentException expected) { 121 } catch (IllegalArgumentException expected) { 144 } catch (IllegalArgumentException expected) { 167 } catch (IllegalArgumentException expected) { 176 } catch (IllegalArgumentException expected) { 199 } catch (IllegalArgumentException expected) { 222 } catch (IllegalArgumentException expected) { 231 } catch (IllegalArgumentException expected) [all...] |
/frameworks/base/core/java/android/content/ |
SyncRequest.java | 77 * @throws IllegalArgumentException if this function is called for a request that targets a 88 * @throws IllegalArgumentException if this function is called for a request that targets a 267 throw new IllegalArgumentException("Sync type has already been defined."); 279 * sync (by calling this function). If you do, an <code>IllegalArgumentException</code> 306 * set to true. If any are supplied then an <code>IllegalArgumentException</code> will 318 throw new IllegalArgumentException("Sync type has already been defined."); 327 throw new IllegalArgumentException("Specified run time for the sync must be" + 335 * Will throw an <code>IllegalArgumentException</code> if called and 342 throw new IllegalArgumentException("setDisallowMetered(true) after having" 368 throw new IllegalArgumentException("Sync target has already been defined.") [all...] |
/frameworks/base/tests/net/java/android/net/ |
IpPrefixTest.java | 76 fail("Expected IllegalArgumentException: invalid array length"); 77 } catch(IllegalArgumentException expected) {} 81 fail("Expected IllegalArgumentException: no prefix length"); 82 } catch(IllegalArgumentException expected) {} 86 fail("Expected IllegalArgumentException: empty prefix length"); 87 } catch(IllegalArgumentException expected) {} 91 fail("Expected IllegalArgumentException: invalid address"); 92 } catch(IllegalArgumentException expected) {} 96 fail("Expected IllegalArgumentException: deprecated IPv4 format"); 97 } catch(IllegalArgumentException expected) { [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
BluetoothTest.java | 101 fail("IllegalArgumentException not thrown"); 102 } catch (IllegalArgumentException e) { 106 fail("IllegalArgumentException not thrown"); 107 } catch (IllegalArgumentException e) { 111 fail("IllegalArgumentException not thrown"); 112 } catch (IllegalArgumentException e) { 116 fail("IllegalArgumentException not thrown"); 117 } catch (IllegalArgumentException e) {
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
GestureDescriptionTest.java | 45 } catch (IllegalArgumentException e) { 53 } catch (IllegalArgumentException e) { 64 } catch (IllegalArgumentException e) { 75 } catch (IllegalArgumentException e) { 86 } catch (IllegalArgumentException e) { 97 } catch (IllegalArgumentException e) { 106 } catch (IllegalArgumentException e) { 119 } catch (IllegalArgumentException e) {
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
ValidatorsTest.java | 58 assertThrows(IllegalArgumentException.class, () -> and(mInvalidValidator)); 59 assertThrows(IllegalArgumentException.class, () -> and(mValidValidator, mInvalidValidator)); 60 assertThrows(IllegalArgumentException.class, () -> and(mInvalidValidator, mValidValidator)); 96 assertThrows(IllegalArgumentException.class, () -> or(mInvalidValidator)); 97 assertThrows(IllegalArgumentException.class, () -> or(mValidValidator, mInvalidValidator)); 98 assertThrows(IllegalArgumentException.class, () -> or(mInvalidValidator, mValidValidator)); 127 assertThrows(IllegalArgumentException.class, () -> not(null)); 132 assertThrows(IllegalArgumentException.class, () -> not(mInvalidValidator));
|
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/ |
DragSourceCursor.java | 43 throw new IllegalArgumentException("Incorrect position: " + getPosition()); 46 throw new IllegalArgumentException("Incorrect column: " + column);
|
/cts/tests/tests/location/src/android/location/cts/ |
CriteriaTest.java | 66 // It should throw IllegalArgumentException 69 } catch (IllegalArgumentException e) { 74 // It should throw IllegalArgumentException 77 } catch (IllegalArgumentException e) { 93 fail("should throw IllegalArgumentException"); 94 } catch (IllegalArgumentException e) { 100 fail("should throw IllegalArgumentException"); 101 } catch (IllegalArgumentException e) {
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
SizeMetric.java | 35 throw new IllegalArgumentException("SizeMetric Relative and Hybrid layout values must be within the range of 0 to 1.");
55 throw new IllegalArgumentException("Unsupported LayoutType: " + this.getLayoutType());
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/ |
MultivariateMatrixFunction.java | 35 * @exception IllegalArgumentException if points dimension is wrong 38 throws FunctionEvaluationException, IllegalArgumentException;
|
MultivariateRealFunction.java | 34 * @exception IllegalArgumentException if points dimension is wrong 37 throws FunctionEvaluationException, IllegalArgumentException;
|
MultivariateVectorialFunction.java | 34 * @exception IllegalArgumentException if points dimension is wrong 37 throws FunctionEvaluationException, IllegalArgumentException;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/integration/ |
UnivariateRealIntegratorImpl.java | 63 * @throws IllegalArgumentException if f is null or the iteration 71 throws IllegalArgumentException { 91 * @throws IllegalArgumentException if f is null or the iteration 95 throws IllegalArgumentException { 160 * @throws IllegalArgumentException if not interval 163 IllegalArgumentException { 174 * @throws IllegalArgumentException if not valid 176 protected void verifyIterationCount() throws IllegalArgumentException {
|