HomeSort by relevance Sort by last modified time
    Searched refs:IllegalArgumentException (Results 326 - 350 of 3562) sorted by null

<<11121314151617181920>>

  /external/apache-harmony/crypto/src/test/api/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...]
  /frameworks/base/graphics/java/android/graphics/pdf/
PdfDocument.java 119 throw new IllegalArgumentException("page cannot be null");
142 throw new IllegalArgumentException("page cannot be null");
173 throw new IllegalArgumentException("out cannot be null!");
330 throw new IllegalArgumentException("page width must be positive");
333 throw new IllegalArgumentException("page width must be positive");
336 throw new IllegalArgumentException("pageNumber must be non negative");
355 throw new IllegalArgumentException("contentRect does not fit the page");
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyPairGenerator2Test.java 149 fail("IllegalArgumentException must be thrown for null random");
150 } catch (IllegalArgumentException e) {
164 fail("IllegalArgumentException must be thrown for null random");
165 } catch (IllegalArgumentException e) {
214 * throws IllegalArgumentException when provider is null;
220 NoSuchProviderException, IllegalArgumentException,
241 fail("IllegalArgumentException must be thrown when provider is null (algorithm: "
243 } catch (IllegalArgumentException e) {
276 * throws IllegalArgumentException when provider is null;
280 IllegalArgumentException, InvalidAlgorithmParameterException
    [all...]
MessageDigest1Test.java 64 fail("No expected IllegalArgumentException");
65 } catch (IllegalArgumentException e) {
70 fail("No expected IllegalArgumentException");
71 } catch (IllegalArgumentException e) {
76 fail("No expected IllegalArgumentException");
77 } catch (IllegalArgumentException e) {
154 fail("No expected IllegalArgumentException");
155 } catch (IllegalArgumentException e) {
160 fail("No expected IllegalArgumentException");
161 } catch (IllegalArgumentException e)
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
FilterGraph.java 91 * @throws IllegalArgumentException if the filter is in the graph already, or its name is
96 throw new IllegalArgumentException("Attempting to add filter " + filter + " that "
99 throw new IllegalArgumentException("Graph contains filter with name '"
117 throw new IllegalArgumentException("Filter named '" + name + "' exists already!");
153 throw new IllegalArgumentException("Unknown filter '" + sourceFilterName + "'!");
155 throw new IllegalArgumentException("Unknown filter '" + targetFilterName + "'!");
211 throw new IllegalArgumentException("Unknown filter '" + filterName + "'!");
217 throw new IllegalArgumentException("VariableSource for '" + filterName + "' and "
245 throw new IllegalArgumentException("Unknown filter '" + filterName + "'!");
251 throw new IllegalArgumentException("Unknown variable '" + varName + "'!")
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyPairGenerator2Test.java 152 fail("IllegalArgumentException must be thrown for null random");
153 } catch (IllegalArgumentException e) {
167 fail("IllegalArgumentException must be thrown for null random");
168 } catch (IllegalArgumentException e) {
217 * throws IllegalArgumentException when provider is null;
223 NoSuchProviderException, IllegalArgumentException,
244 fail("IllegalArgumentException must be thrown when provider is null (algorithm: "
246 } catch (IllegalArgumentException e) {
279 * throws IllegalArgumentException when provider is null;
283 IllegalArgumentException, InvalidAlgorithmParameterException
    [all...]
  /libcore/libdvm/src/main/java/java/lang/reflect/
Field.java 249 * IllegalArgumentException is thrown.
260 * @throws IllegalArgumentException
265 public Object get(Object object) throws IllegalAccessException, IllegalArgumentException {
276 * method, an IllegalArgumentException is thrown.
287 * @throws IllegalArgumentException
293 IllegalArgumentException {
304 * method, an IllegalArgumentException is thrown.
315 * @throws IllegalArgumentException
320 public byte getByte(Object object) throws IllegalAccessException, IllegalArgumentException {
331 * method, an IllegalArgumentException is thrown
    [all...]
  /external/apache-http/src/org/apache/http/impl/conn/
DefaultClientConnectionOperator.java 86 throw new IllegalArgumentException
108 throw new IllegalArgumentException
112 throw new IllegalArgumentException
118 throw new IllegalArgumentException
122 throw new IllegalArgumentException
204 throw new IllegalArgumentException
208 throw new IllegalArgumentException
213 throw new IllegalArgumentException
217 throw new IllegalArgumentException
223 throw new IllegalArgumentException
    [all...]
  /external/okhttp/src/main/java/com/squareup/okhttp/
OkHttpClient.java 78 throw new IllegalArgumentException("timeout < 0");
81 throw new IllegalArgumentException("unit == null");
85 throw new IllegalArgumentException("Timeout too large.");
102 throw new IllegalArgumentException("timeout < 0");
105 throw new IllegalArgumentException("unit == null");
109 throw new IllegalArgumentException("Timeout too large.");
305 throw new IllegalArgumentException("transports doesn't contain http/1.1: " + transports);
308 throw new IllegalArgumentException("transports must not contain null");
311 throw new IllegalArgumentException("transports contains an empty string");
350 throw new IllegalArgumentException("Unexpected protocol: " + protocol)
    [all...]
  /frameworks/opt/telephony/src/java/android/telephony/
SmsManager.java 85 * @throws IllegalArgumentException if destinationAddress or text are empty
91 throw new IllegalArgumentException("Invalid destinationAddress");
95 throw new IllegalArgumentException("Invalid message body");
117 * @throws IllegalArgumentException if text is null
121 throw new IllegalArgumentException("text is null");
165 * @throws IllegalArgumentException if destinationAddress or data are empty
171 throw new IllegalArgumentException("Invalid destinationAddress");
174 throw new IllegalArgumentException("Invalid message body");
230 * @throws IllegalArgumentException if destinationAddress or data are empty
236 throw new IllegalArgumentException("Invalid destinationAddress")
    [all...]
  /libcore/luni/src/main/java/javax/xml/parsers/
SAXParser.java 117 * @throws IllegalArgumentException If the given InputStream is null.
127 throw new IllegalArgumentException("InputStream cannot be null");
144 * @throws IllegalArgumentException If the given <code>InputStream</code> is
158 throw new IllegalArgumentException("InputStream cannot be null");
174 * @throws IllegalArgumentException If the given InputStream is null.
183 throw new IllegalArgumentException("InputStream cannot be null");
199 * @throws IllegalArgumentException If the given InputStream is null.
211 throw new IllegalArgumentException("InputStream cannot be null");
229 * @throws IllegalArgumentException If the uri is null.
238 throw new IllegalArgumentException("uri cannot be null")
    [all...]
  /frameworks/base/core/java/android/net/nsd/
NsdManager.java 467 throw new IllegalArgumentException("Service name or type cannot be empty");
470 throw new IllegalArgumentException("Invalid port number");
473 throw new IllegalArgumentException("listener cannot be null");
476 throw new IllegalArgumentException("Unsupported protocol");
494 throw new IllegalArgumentException("listener not registered");
497 throw new IllegalArgumentException("listener cannot be null");
528 throw new IllegalArgumentException("listener cannot be null");
531 throw new IllegalArgumentException("Service type cannot be empty");
535 throw new IllegalArgumentException("Unsupported protocol");
558 throw new IllegalArgumentException("service discovery not active on listener")
    [all...]
  /cts/tests/tests/keystore/src/android/keystore/cts/
KeyPairGeneratorSpecTest.java 103 fail("Should throw IllegalArgumentException when alias is missing");
104 } catch (IllegalArgumentException expected) {
116 fail("Should throw IllegalArgumentException when subject is missing");
117 } catch (IllegalArgumentException expected) {
129 fail("Should throw IllegalArgumentException when serialNumber is missing");
130 } catch (IllegalArgumentException expected) {
142 fail("Should throw IllegalArgumentException when startDate is missing");
143 } catch (IllegalArgumentException expected) {
155 fail("Should throw IllegalArgumentException when endDate is missing");
156 } catch (IllegalArgumentException expected)
    [all...]
  /external/emma/core/java12/com/vladium/emma/report/
SourcePathCache.java 39 if (sourcepath == null) throw new IllegalArgumentException ("null input: sourcepath");
61 if (sourcepath == null) throw new IllegalArgumentException ("null input: sourcepath");
83 if (packageVMName == null) throw new IllegalArgumentException ("null input: packageVMName");
84 if (name == null) throw new IllegalArgumentException ("null input: name");
168 throw new IllegalArgumentException ("null input: extension");
174 throw new IllegalArgumentException ("empty input: extension");
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
Connection.java 190 throw new IllegalArgumentException("user argument is null");
193 throw new IllegalArgumentException("pem argument is null");
256 throw new IllegalArgumentException("Callback may not ne NULL!");
271 throw new IllegalArgumentException("user argument is null");
317 throw new IllegalArgumentException("user argument is null");
320 throw new IllegalArgumentException("password argument is null");
368 throw new IllegalArgumentException("user argument is null");
436 throw new IllegalArgumentException("user argument is null");
439 throw new IllegalArgumentException("pemPrivateKey argument is null");
474 throw new IllegalArgumentException("pemFile argument is null")
    [all...]
SCPClient.java 74 throw new IllegalArgumentException("Cannot accept null argument!");
184 throw new IllegalArgumentException("Null argument.");
190 throw new IllegalArgumentException("Invalid mode.");
194 throw new IllegalArgumentException("Invalid mode.");
219 throw new IllegalArgumentException("Null argument.");
222 throw new IllegalArgumentException("Cannot accept empty filename.");
Session.java 99 throw new IllegalArgumentException("TERM cannot be null.");
149 throw new IllegalArgumentException("hostname argument may not be null");
242 throw new IllegalArgumentException("cmd argument may not be null");
291 throw new IllegalArgumentException("name argument may not be null");
351 throw new IllegalArgumentException("timeout must not be negative!");
397 throw new IllegalArgumentException("timeout must be non-negative!");
  /frameworks/base/core/java/android/content/
SyncAdapterType.java 40 throw new IllegalArgumentException("the authority must not be empty: " + authority);
43 throw new IllegalArgumentException("the accountType must not be empty: " + accountType);
62 throw new IllegalArgumentException("the authority must not be empty: " + authority);
65 throw new IllegalArgumentException("the accountType must not be empty: " + accountType);
79 throw new IllegalArgumentException("the authority must not be empty: " + authority);
82 throw new IllegalArgumentException("the accountType must not be empty: " + accountType);
  /frameworks/base/core/java/android/net/
NetworkUtils.java 134 throws IllegalArgumentException {
146 throws IllegalArgumentException {
148 throw new IllegalArgumentException("Invalid prefix length (0 <= prefix <= 32)");
166 * but it will throw an IllegalArgumentException in that case.
172 throws IllegalArgumentException {
230 throws IllegalArgumentException {
239 throw new IllegalArgumentException(e);
  /frameworks/base/drm/java/android/drm/
DrmManagerClient.java 370 throw new IllegalArgumentException("Given usage or path is invalid/null");
385 throw new IllegalArgumentException("Given path is invalid/null");
401 throw new IllegalArgumentException("Uri should be non null");
416 throw new IllegalArgumentException("Uri should be non null");
439 throw new IllegalArgumentException("Given drmRights or contentPath is not valid");
456 throw new IllegalArgumentException(
472 throw new IllegalArgumentException("Path or the mimetype should be non null");
487 throw new IllegalArgumentException("Uri or the mimetype should be non null");
500 throw new IllegalArgumentException("Given drmInfo is invalid/null");
520 throw new IllegalArgumentException("Given drmInfoRequest is invalid/null")
    [all...]
  /frameworks/base/location/java/android/location/
Criteria.java 123 * @throws IllegalArgumentException if accuracy is not one of the supported constants
127 throw new IllegalArgumentException("accuracy=" + accuracy);
147 * @throws IllegalArgumentException if accuracy is not one of the supported constants
151 throw new IllegalArgumentException("accuracy=" + accuracy);
171 * @throws IllegalArgumentException if accuracy is not one of the supported constants
175 throw new IllegalArgumentException("accuracy=" + accuracy);
195 * @throws IllegalArgumentException if accuracy is not one of the supported constants
199 throw new IllegalArgumentException("accuracy=" + accuracy);
219 * @throws IllegalArgumentException if accuracy is not one of the supported constants
223 throw new IllegalArgumentException("accuracy=" + accuracy)
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
BreakIteratorTest.java 112 } catch (IllegalArgumentException expected) {
124 } catch (IllegalArgumentException expected) {
136 } catch (IllegalArgumentException expected) {
148 } catch (IllegalArgumentException expected) {
160 } catch (IllegalArgumentException expected) {
171 } catch (IllegalArgumentException expected) {
  /cts/tests/tests/net/src/android/net/rtp/cts/
AudioStreamTest.java 55 fail("Expecting IllegalArgumentException");
56 } catch (IllegalArgumentException e) {
65 fail("Expecting IllegalArgumentException");
66 } catch (IllegalArgumentException e) {
82 fail("Expecting IllegalArgumentException");
83 } catch (IllegalArgumentException e) {
  /dalvik/dexgen/src/com/android/dexgen/dex/code/
CatchTable.java 114 throw new IllegalArgumentException("start < 0");
118 throw new IllegalArgumentException("end <= start");
122 throw new IllegalArgumentException("handlers.isMutable()");
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
Section.java 50 * @throws IllegalArgumentException thrown if {@code alignment}
56 throw new IllegalArgumentException("invalid alignment");
126 throw new IllegalArgumentException("fileOffset < 0");
182 throw new IllegalArgumentException("relative < 0");

Completed in 2957 milliseconds

<<11121314151617181920>>