/frameworks/base/telephony/java/com/android/internal/telephony/ |
IccCardStatus.java | 73 throw new RuntimeException("Unrecognized RIL_CardState: " + state); 98 throw new RuntimeException("Unrecognized RIL_PinState: " + state);
|
/packages/apps/Camera/src/com/android/camera/ |
IconIndicator.java | 70 throw new IllegalArgumentException(); 83 throw new IllegalArgumentException("unknown mode: " + mode);
|
/packages/apps/Contacts/src/com/android/contacts/ |
ContactsSectionIndexer.java | 41 throw new NullPointerException(); 45 throw new IllegalArgumentException(
|
/packages/apps/Email/src/com/android/email/mail/internet/ |
MimeMultipart.java | 49 throw new MessagingException("MultiPart does not contain boundary: " + contentType); 52 throw new MessagingException(
|
/packages/apps/Email/src/org/apache/commons/io/filefilter/ |
DelegateFileFilter.java | 46 throw new IllegalArgumentException("The FilenameFilter must not be null");
59 throw new IllegalArgumentException("The FileFilter must not be null");
|
/packages/apps/Email/src/org/apache/james/mime4j/ |
CloseShieldInputStream.java | 121 * Check if the underlying InputStream is null. If so throw an Exception
127 throw new IOException("Stream is closed");
|
/packages/apps/IM/src/com/android/im/imps/ |
ImpsSession.java | 91 throw new ImException(ImErrorInfo.INVALID_SESSION_CONTEXT, 96 throw new ImException(ImErrorInfo.INVALID_SESSION_CONTEXT, 102 throw new ImException(ImErrorInfo.INVALID_SESSION_CONTEXT, 108 throw new ImException(ImErrorInfo.INVALID_SESSION_CONTEXT, 115 throw new ImException(ImErrorInfo.INVALID_SESSION_CONTEXT, 124 throw new ImException(ImErrorInfo.INVALID_SESSION_CONTEXT, 130 throw new ImException(ImErrorInfo.INVALID_SESSION_CONTEXT, 234 throw new ImException(ImErrorInfo.INVALID_USERNAME,
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
TimeImpl.java | 80 // Will throw NullPointerException if timeValue is null 96 throw new IllegalArgumentException("Unsupported time value"); 134 // Will throw NullPointerException if clockValue is null 165 throw new IllegalArgumentException(); 173 throw new IllegalArgumentException(); 181 throw new IllegalArgumentException(); 187 throw new IllegalArgumentException(); 215 throw new IllegalArgumentException("int value contains decimal");
|
/packages/apps/Mms/src/com/android/mms/layout/ |
LayoutManager.java | 65 throw new IllegalArgumentException( 82 throw new IllegalStateException("Uninitialized.");
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
SingleThreadNamedTaskExecutor.java | 45 throw new IllegalStateException("cancelPendingTasks() after close()"); 58 throw new IllegalStateException("execute() after close()");
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
DurationTest.java | 60 fail("test didn't throw an exception but we expected it to"); 67 fail("test didn't throw an exception but we expected it to");
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadProvider.java | 212 throw new IllegalArgumentException("Unknown URI: " + uri); 255 throw ex; 267 throw ex; 282 throw new IllegalArgumentException("Unknown/Invalid URI " + uri); 298 throw new SecurityException("unauthorized destination code"); 407 throw new IllegalArgumentException("Unknown URI: " + uri); 428 throw new IllegalArgumentException( 594 throw new UnsupportedOperationException("Cannot update URI: " + uri); 650 throw new UnsupportedOperationException("Cannot delete URI: " + uri); 703 // If there is not exactly one result, throw an appropriate exception [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/files/ |
IFileWrapper.java | 43 throw new StreamException(e); 51 throw new StreamException(e);
|
/sdk/sdkmanager/libs/sdklib/tests/com/android/sdklib/internal/repository/ |
MockAddonPackage.java | 145 throw new UnsupportedOperationException("Implement this as needed for tests");
149 throw new UnsupportedOperationException("Implement this as needed for tests");
|
/dalvik/libcore/xml/src/main/java/org/apache/xalan/transformer/ |
TransformerHandlerImpl.java | 178 throw new IllegalArgumentException(XSLMessages.createMessage(XSLTErrorResources.ER_RESULT_NULL, null)); //"result should not be null"); 191 throw new IllegalArgumentException(XSLMessages.createMessage(XSLTErrorResources.ER_RESULT_COULD_NOT_BE_SET, null)); //"result could not be set"); 241 * @throws SAXException The client may throw 243 * @throws java.io.IOException The client may throw an 272 * @throws SAXException The client may throw 293 * @throws SAXException The client may throw 341 * @throws SAXException The client may throw 384 * @throws SAXException The client may throw 425 throw new org.xml.sax.SAXException(e); 439 * @throws SAXException The client may throw [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
AnimationDrawableTest.java | 76 throw new Exception(t); 251 fail("Should throw NullPointerException if param frame is null."); 284 fail("Should throw ArrayIndexOutOfBoundsException."); 291 fail("Should throw ArrayIndexOutOfBoundsException."); 312 fail("Should throw ArrayIndexOutOfBoundsException."); 319 fail("Should throw ArrayIndexOutOfBoundsException."); 409 fail("Should throw XmlPullParserException if drawable of item is missing"); 428 fail("Should throw NullPointerException if resource is null"); 435 fail("Should throw NullPointerException if parser is null"); 442 fail("Should throw NullPointerException if AttributeSet is null") [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
LayoutInflaterTest.java | 175 throw new RuntimeException(); 209 fail("should throw exception"); 228 fail("should throw exception"); 240 fail("should throw exception"); 298 fail("should throw exception"); 337 fail("should throw exception"); 383 fail("should throw exception"); 397 fail("should throw exception"); 442 fail("should throw exception"); 456 fail("should throw exception") [all...] |
/cts/tools/dx-tests/src/util/ |
CollectAllTests.java | 178 throw new RuntimeException( 193 throw new RuntimeException("no test method: " + method); 260 throw new RuntimeException("unknown test abbreviation:" 280 throw new RuntimeException( 375 throw new RuntimeException("error while reading from file: " 384 throw new RuntimeException( 421 throw new RuntimeException("failed to parse", e); 430 throw new RuntimeException("error while reading from file: " 488 throw new RuntimeException("error while writing to file: " 510 throw new RuntimeException("unexpected EOF for file: "+file) [all...] |
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
MemoryHandlerTest.java | 160 fail("should throw security exception"); 165 fail("should throw security exception"); 230 fail("should throw NullPointerException"); 303 fail("should throw RuntimeException: target must be set"); 313 fail("should throw RuntimeException: target must be valid"); 408 fail("should throw NullPointerException"); 413 fail("should throw NullPointerException"); 418 fail("should throw IllegalArgumentException"); 423 fail("should throw IllegalArgumentException"); 438 fail("should throw NullPointerException") [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
Timer.java | 369 throw new NullPointerException("name is null"); 440 throw new IllegalArgumentException(); 461 throw new IllegalArgumentException(); 483 throw new IllegalArgumentException(); 506 throw new IllegalArgumentException(); 530 throw new IllegalArgumentException(); 553 throw new IllegalArgumentException(); 566 throw new IllegalStateException(Msg.getString("K00f3")); //$NON-NLS-1$ 572 throw new IllegalArgumentException(Msg.getString("K00f5")); //$NON-NLS-1$ 577 throw new IllegalStateException(Msg.getString("K00f6")); //$NON-NLS-1 [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
BufferedInputStreamTest.java | 105 // is.read should now throw an exception because it will have to 171 fail("Expected test to throw IOE."); 175 fail("Expected test to throw IOE not " 394 fail("should throw NullPointerException"); 401 fail("should throw IndexOutOfBoundsException"); 408 fail("should throw IndexOutOfBoundsException"); 415 fail("should throw IndexOutOfBoundsException"); 424 fail("should throw IOException"); 462 throw new IOException("Read past end of data"); 470 throw new IOException("Read past end of data") [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
DNParser.java | 100 throw new IOException( 115 throw new IOException( 149 throw new IOException( 180 throw new IOException( 215 throw new IOException( 280 throw new IOException( 363 throw new IOException( 377 throw new IOException( 389 throw new IOException( 459 throw new IOException [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
JDKKeyPairGenerator.java | 102 throw new InvalidAlgorithmParameterException("parameter object not a RSAKeyGenParameterSpec"); 154 throw new InvalidAlgorithmParameterException("parameter object not a DHParameterSpec"); 215 throw new InvalidAlgorithmParameterException("parameter object not a DSAParameterSpec"); 277 // throw new InvalidAlgorithmParameterException("parameter object not a DHParameterSpec or an ElGamalParameterSpec"); 362 // throw new InvalidAlgorithmParameterException("parameter object not a GOST3410ParameterSpec"); 434 // throw new InvalidParameterException("key size not configurable."); 439 // throw new InvalidParameterException("unknown key size."); 492 // throw new InvalidAlgorithmParameterException("unknown curve name: " + ((ECGenParameterSpec)params).getName()); 515 // throw new InvalidAlgorithmParameterException("unknown curve name: " + ((ECGenParameterSpec)params).getName()); 554 // throw new InvalidAlgorithmParameterException("parameter object not a ECParameterSpec") [all...] |
/dalvik/libcore/xml/src/main/java/javax/xml/validation/ |
ValidatorHandler.java | 210 * throw {@link org.xml.sax.SAXException} without first reporting it to 219 * throw e; 222 * throw e; 351 throw new NullPointerException(); 352 throw new SAXNotRecognizedException(name); 385 throw new NullPointerException(); 386 throw new SAXNotRecognizedException(name); 415 throw new NullPointerException(); 416 throw new SAXNotRecognizedException(name); 447 throw new NullPointerException() [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMNodeProxy.java | 234 throw new DTMDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR); 266 //throw new DTMDOMException(DOMException.NOT_SUPPORTED_ERR); 282 // throw new DTMDOMException(DOMException.NOT_SUPPORTED_ERR); 316 throw new DTMDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR); 371 // throw new DTMDOMException(DOMException.NOT_SUPPORTED_ERR); 494 throw new DTMDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR); 510 throw new DTMDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR); 524 throw new DTMDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR); 538 throw new DTMDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR); 560 throw new DTMDOMException(DOMException.NOT_SUPPORTED_ERR) [all...] |