/external/apache-http/src/org/apache/http/impl/io/ |
AbstractSessionInputBuffer.java | 70 throw new IllegalArgumentException("Input stream may not be null"); 73 throw new IllegalArgumentException("Buffer size may not be negative or zero"); 76 throw new IllegalArgumentException("HTTP parameters may not be null"); 166 throw new IllegalArgumentException("Char array buffer may not be null"); 197 throw new IOException("Maximum line length limit exceeded");
|
/external/apache-http/src/org/apache/http/protocol/ |
BasicHttpProcessor.java | 78 throw new IndexOutOfBoundsException(String.valueOf(index)); 86 throw new IndexOutOfBoundsException(String.valueOf(index)); 97 throw new IndexOutOfBoundsException(String.valueOf(index)); 105 throw new IndexOutOfBoundsException(String.valueOf(index)); 254 throw new IllegalArgumentException("List must not be null.");
|
/external/emma/core/java12/com/vladium/util/ |
IProperties.java | 173 throw new Error (cnse.toString ()); // never happens 191 throw new Error (cnse.toString ()); // never happens 240 throw new IllegalArgumentException ("null input: prefix"); 291 throw new IllegalArgumentException ("null input: value"); 335 throw new IllegalStateException ("cyclic delegation detected");
|
/external/guava/src/com/google/common/util/concurrent/ |
AbstractFuture.java | 130 throw (Error) throwable; 221 throw new TimeoutException("Timeout waiting for task."); 251 throw exception; 257 throw new CancellationException("Task was cancelled."); 260 throw new IllegalStateException(
|
/frameworks/base/awt/java/awt/ |
Cursor.java | 337 throw new AWTException(exMsg); 344 throw new AWTException(exMsg); 374 throw new AWTException(Messages.getString("awt.142",//$NON-NLS-1$ 379 throw new AWTException(e.getMessage()); 395 throw new IllegalArgumentException(Messages.getString("awt.143")); //$NON-NLS-1$
|
/frameworks/base/awt/java/awt/geom/ |
FlatteningPathIterator.java | 166 throw new IllegalArgumentException(Messages.getString("awt.206")); //$NON-NLS-1$ 170 throw new IllegalArgumentException(Messages.getString("awt.207")); //$NON-NLS-1$ 174 throw new NullPointerException(Messages.getString("awt.208")); //$NON-NLS-1$ 328 throw new NoSuchElementException(Messages.getString("awt.4Bx")); //$NON-NLS-1$ 345 throw new NoSuchElementException(Messages.getString("awt.4B")); //$NON-NLS-1$
|
/frameworks/base/core/java/android/content/ |
ComponentName.java | 46 if (pkg == null) throw new NullPointerException("package name is null"); 47 if (cls == null) throw new NullPointerException("class name is null"); 61 if (cls == null) throw new NullPointerException("class name is null"); 279 if (mPackage == null) throw new NullPointerException( 282 if (mClass == null) throw new NullPointerException(
|
/frameworks/base/core/java/android/os/ |
DropBoxManager.java | 106 if (tag == null) throw new NullPointerException(); 107 if (((flags & IS_EMPTY) != 0) != (value == null)) throw new IllegalArgumentException(); 123 throw new IllegalArgumentException(); 228 if (data == null) throw new NullPointerException(); 242 if (file == null) throw new NullPointerException();
|
/frameworks/base/core/java/android/pim/vcard/ |
VCardParser_V30.java | 136 throw new VCardException("Reached end of buffer."); 169 throw new VCardException("Space exists at the beginning of the line"); 220 throw new VCardException( 234 throw new VCardException("Parameter without name is not acceptable in vCard 3.0"); 300 throw new VCardException(
|
/frameworks/base/core/java/android/text/ |
SpannableStringInternal.java | 84 throw new RuntimeException( 93 throw new RuntimeException( 341 throw new IndexOutOfBoundsException(operation + " " + 349 throw new IndexOutOfBoundsException(operation + " " + 355 throw new IndexOutOfBoundsException(operation + " " +
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Bitmap.java | 131 throw new IllegalArgumentException( 135 throw new IllegalArgumentException( 214 throw new IllegalArgumentException("abs(stride) must be >= width"); 221 throw new ArrayIndexOutOfBoundsException(); 225 throw new UnsupportedOperationException();
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
MockTransport.java | 246 throw new IOException("Reading from MockTransport with closed input"); 341 throw new IOException(); 351 throw new IOException("Reading from MockTransport with closed input"); 360 // no joy - throw an exception 361 throw new IOException();
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
Device.java | 121 throw new IllegalArgumentException( 462 throw new IOException(String.format("Unable to upload file: %1$s", 466 throw new IOException("Unable to open sync connection!"); 472 throw e; 507 throw e;
|
/cts/tests/tests/database/src/android/database/cts/ |
DatabaseUtilsTest.java | 359 fail("should throw IllegalArgumentException."); 373 fail("should throw IllegalArgumentException."); 579 fail("should throw SQLiteDoneException"); 596 fail("should throw SQLiteDoneException"); 619 fail("should throw SQLiteException."); 648 fail("should throw IllegalArgumentException."); 658 fail("should throw SQLiteAbortException."); 668 fail("should throw RuntimeException."); 678 fail("should throw FileNotFoundException."); 710 fail("should throw SQLiteDoneException") [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MatrixTest.java | 472 fail("should throw exception"); 495 fail("should throw exception"); 517 fail("should throw exception"); 534 fail("should throw exception"); 553 fail("should throw exception"); 572 fail("should throw exception"); 590 fail("should throw exception"); 610 fail("should throw exception"); 629 fail("should throw exception"); 662 fail("should throw exception") [all...] |
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/locks/ |
AbstractQueuedSynchronizer.java | 177 * if (getState() == 0) throw new IllegalMonitorStateException(); 453 throw new NullPointerException(); [all...] |
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/ |
RuleBasedCollator.java | 265 throw new NullPointerException(); 268 // throw new ParseException("Build rules empty.", 0); 294 throw new NullPointerException(); 297 // throw new ParseException("Build rules empty.", 0); 300 throw ErrorCode.getException(ErrorCode.U_ILLEGAL_ARGUMENT_ERROR); 334 throw new NullPointerException(); 339 throw ErrorCode.getException(ErrorCode.U_ILLEGAL_ARGUMENT_ERROR); 414 throw ErrorCode.getException(ErrorCode.U_ILLEGAL_ARGUMENT_ERROR); 469 throw ErrorCode.getException(ErrorCode.U_ILLEGAL_ARGUMENT_ERROR); 493 throw ErrorCode.getException(ErrorCode.U_ILLEGAL_ARGUMENT_ERROR) [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
ArrayList.java | 82 throw new IllegalArgumentException(); 257 throw new IndexOutOfBoundsException("Invalid index " + index 288 throw new AssertionError(); 447 throw new IndexOutOfBoundsException("fromIndex " + fromIndex 451 throw new IndexOutOfBoundsException("toIndex " + toIndex 455 throw new IndexOutOfBoundsException("fromIndex " + fromIndex 573 throw new ConcurrentModificationException(); 576 throw new NoSuchElementException(); 586 throw new ConcurrentModificationException(); 589 throw new IllegalStateException() [all...] |
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
ByteTest.java | 603 assertTrue("Failed to throw exception for MAX_VALUE + 1", exception); 612 assertTrue("Failed to throw exception for MIN_VALUE - 1", exception); 621 assertTrue("Failed to throw exception for hex MAX_VALUE + 1", exception); 630 assertTrue("Failed to throw exception for hex MIN_VALUE - 1", exception); 782 fail("Failed to throw exception"); 788 fail("Failed to throw exception for MAX_VALUE + 1"); 794 fail("Failed to throw exception for MIN_VALUE - 1"); 800 fail("Failed to throw exception for hex MAX_VALUE + 1"); 806 fail("Failed to throw exception for hex MIN_VALUE + 1"); 871 fail("Failed to throw exception when passes value > byte") [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
SerializationStressTest0.java | 128 "Failed to throw NotActiveException when invoked outside readObject"); 527 throw err; 826 throw new InvalidObjectException("invalid"); 828 throw new RuntimeException("runtime"); 830 throw new Error("error"); 865 throw new InvalidObjectException("invalid"); 867 throw new RuntimeException("runtime"); 869 throw new Error("error"); [all...] |
/dalvik/libcore/nio_char/src/main/java/java/nio/charset/ |
Charset.java | 143 throw new NullPointerException(); 189 throw new IllegalCharsetNameException(name); 195 // throw new IllegalCharsetNameException(name); 202 throw new IllegalCharsetNameException(name); 296 throw new Error(e.getMessage(), e); 414 throw new Error(e.getMessage(), e); 459 throw new IllegalArgumentException(); 544 throw new UnsupportedCharsetException(charsetName); 566 throw new IllegalArgumentException(); 698 throw new Error(ex.getMessage(), ex) [all...] |
/dalvik/libcore/prefs/src/main/java/java/util/prefs/ |
XMLParser.java | 136 throw new Error(e); 148 throw new SAXException( 154 throw e; 158 throw e; 162 throw e; 377 throw new InvalidPreferencesFormatException( 395 throw new InvalidPreferencesFormatException(e); 397 throw new InvalidPreferencesFormatException(e); 401 // throw new InvalidPreferencesFormatException(e); 408 // removed throw clause for TransformerExceptio [all...] |
/dalvik/libcore/security/src/main/java/java/security/ |
Security.java | 257 // throw SecurityException or not? 326 throw new NullPointerException(Messages.getString("security.2A")); //$NON-NLS-1$ 329 throw new InvalidParameterException( 335 throw new InvalidParameterException( 372 throw new NullPointerException(Messages.getString("security.2A")); //$NON-NLS-1$ 388 throw new InvalidParameterException( 393 throw new InvalidParameterException( 398 throw new InvalidParameterException( 403 throw new InvalidParameterException( 411 throw new InvalidParameterException [all...] |
/dalvik/libcore/sql/src/main/java/java/sql/ |
Timestamp.java | 87 throw new IllegalArgumentException(); 306 throw new IllegalArgumentException(Messages.getString("sql.0")); //$NON-NLS-1$ 411 throw new IllegalArgumentException(Messages.getString("sql.3")); //$NON-NLS-1$ 417 throw new IllegalArgumentException(Messages.getString("sql.2")); //$NON-NLS-1$ 434 throw new IllegalArgumentException(Messages.getString("sql.2")); //$NON-NLS-1$ 438 throw new IllegalArgumentException(Messages.getString("sql.2")); //$NON-NLS-1$ 462 throw new IllegalArgumentException(Messages.getString("sql.2")); //$NON-NLS-1$ 470 throw new IllegalArgumentException(Messages.getString("sql.2")); //$NON-NLS-1$ 476 throw new NumberFormatException(Messages.getString( 496 throw new IllegalArgumentException(Messages.getString("sql.2")); //$NON-NLS-1 [all...] |
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
TestCertUtils.java | 56 throw new Error("statics only"); 253 throw new StreamCorruptedException("expect [" + serializedData 628 throw new CertificateException("IO problem", ex); 632 throw new CertificateException("invalid format"); 649 throw new UnsupportedOperationException("not yet."); 657 throw new UnsupportedOperationException("not yet."); 666 throw new UnsupportedOperationException("not yet."); 681 throw new CertificateException("Not X509: " + c); 684 throw new CertificateException("Invalid (test) X509: " + c); 740 throw new Error() [all...] |