/external/webkit/LayoutTests/fast/js/resources/ |
standalone-pre.js | 136 testFailed(_a + " should throw " + (typeof _e == "undefined" ? "an exception" : _ev) + ". Threw exception " + exception + "."); 138 testFailed(_a + " should throw " + (typeof _e == "undefined" ? "an exception" : _ev) + ". Was undefined."); 140 testFailed(_a + " should throw " + (typeof _e == "undefined" ? "an exception" : _ev) + ". Was " + _av + ".");
|
/frameworks/base/awt/java/awt/event/ |
InputMethodEvent.java | 77 throw new IllegalArgumentException(Messages.getString("awt.18E")); //$NON-NLS-1$ 81 throw new IllegalArgumentException(Messages.getString("awt.18F")); //$NON-NLS-1$ 88 throw new IllegalArgumentException(Messages.getString("awt.190")); //$NON-NLS-1$
|
/frameworks/base/awt/java/awt/image/ |
PixelInterleavedSampleModel.java | 73 throw new IllegalArgumentException(Messages.getString("awt.241")); //$NON-NLS-1$ 78 throw new IllegalArgumentException(Messages.getString("awt.242")); //$NON-NLS-1$ 84 throw new IllegalArgumentException(Messages.getString("awt.243")); //$NON-NLS-1$
|
/frameworks/base/awt/javax/imageio/plugins/jpeg/ |
JPEGImageReadParam.java | 73 throw new IllegalArgumentException("Invalid JPEG table arrays"); 76 throw new IllegalArgumentException("Invalid JPEG table arrays"); 79 throw new IllegalArgumentException("Invalid JPEG table arrays");
|
/frameworks/base/awt/javax/imageio/stream/ |
FileCacheImageOutputStream.java | 71 throw new IllegalArgumentException("stream == null!"); 79 throw new IllegalArgumentException("Not a directory!"); 180 throw new IndexOutOfBoundsException();
|
/frameworks/base/awt/org/apache/harmony/awt/gl/ |
ICompositeContext.java | 57 throw new IllegalArgumentException(Messages.getString("awt.48")); //$NON-NLS-1$ 62 throw new IllegalArgumentException(Messages.getString("awt.49")); //$NON-NLS-1$ 68 throw new IllegalArgumentException(Messages.getString("awt.4A")); //$NON-NLS-1$
|
/frameworks/base/core/java/android/accounts/ |
AuthenticatorDescription.java | 50 if (type == null) throw new IllegalArgumentException("type cannot be null"); 51 if (packageName == null) throw new IllegalArgumentException("packageName cannot be null"); 66 if (type == null) throw new IllegalArgumentException("type cannot be null");
|
/frameworks/base/core/java/android/preference/ |
GenericInflater.java | 193 throw new IllegalStateException("" + 197 throw new NullPointerException("Given factory can not be null"); 306 throw new InflateException(parser.getPositionDescription() 332 throw e; 337 throw ex; 343 throw ex; 391 throw ie; 395 throw e; 402 throw ie; 438 throw e [all...] |
/frameworks/base/core/java/android/util/ |
Base64InputStream.java | 80 throw new UnsupportedOperationException(); 84 throw new UnsupportedOperationException(); 148 throw new IOException("bad base-64");
|
/frameworks/base/media/java/android/media/ |
ResampleInputStream.java | 64 if (rateIn != 2 * rateOut) throw new IllegalArgumentException("only support 2:1 at the moment"); 86 if (mInputStream == null) throw new IllegalStateException("not open"); 143 throw new IllegalStateException("someone forgot to close ResampleInputStream");
|
/frameworks/base/telephony/java/com/android/internal/telephony/test/ |
ModelInterpreter.java | 436 throw new InterpreterEx("ERROR"); 448 throw new InterpreterEx("ERROR"); 471 throw new InterpreterEx("ERROR"); 483 throw new InterpreterEx("ERROR"); 495 throw new InterpreterEx("ERROR"); 507 throw new InterpreterEx("ERROR"); 519 throw new InterpreterEx("ERROR"); 531 throw new InterpreterEx("ERROR"); 543 throw new InterpreterEx("ERROR"); 607 throw new InterpreterEx ("ERROR") [all...] |
/frameworks/base/test-runner/src/android/test/ |
TestBrowserActivity.java | 91 throw new RuntimeException(e); 94 throw new RuntimeException(e); 97 throw new RuntimeException(e);
|
/packages/apps/Email/src/com/android/email/mail/internet/ |
MimeMessage.java | 229 throw new MessagingException("Unrecognized recipient type."); 262 throw new MessagingException("Unrecognized recipient type."); 346 throw new MessagingException("saveChanges not yet implemented"); 441 throw new MessagingException("Illegal extended headers: " + headers); 491 throw new IllegalStateException("Internal stack error: " + "Expected '" 506 throw new Error(me); 526 throw new Error(me); 543 throw new Error(me); 553 throw new Error(me); 569 throw new Error(me) [all...] |
/packages/apps/Email/src/com/android/exchange/provider/ |
ExchangeProvider.java | 74 // Make sure we get a valid id; otherwise throw an exception 78 throw new IllegalArgumentException("Illegal value in URI"); 93 throw new IllegalArgumentException("Unknown URI " + uri);
|
/packages/apps/Email/src/org/apache/commons/io/input/ |
CharSequenceReader.java | 100 throw new NullPointerException("Character array is missing");
103 throw new IndexOutOfBoundsException("Array Size=" + array.length +
134 throw new IllegalArgumentException(
|
/packages/apps/Email/tests/src/com/android/email/mail/ |
StoreTests.java | 44 // This will throw MessagingException if the result would have been null 62 // This will throw MessagingException if the result would have been null 80 // This will throw MessagingException if the result would have been null
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
BaseCancelable.java | 69 throw new CancellationException(); 72 throw new ExecutionException(mError); 76 throw new IllegalStateException();
|
/packages/apps/Mms/src/com/android/mms/dom/ |
ElementImpl.java | 160 throw new DOMException(DOMException.NOT_SUPPORTED_ERR, null); 165 throw new DOMException(DOMException.NOT_SUPPORTED_ERR, null); 170 throw new DOMException(DOMException.NOT_SUPPORTED_ERR, null);
|
/packages/apps/QuickSearchBox/tests/partial/src/com/android/quicksearchbox/tests/partial/ |
PartialSuggestionProvider.java | 129 throw new UnsupportedOperationException(); 135 throw new UnsupportedOperationException(); 140 throw new UnsupportedOperationException();
|
/packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/ |
DownloadProviderPermissionsTest.java | 76 fail("read from provider did not throw SecurityException as expected."); 93 fail("write to provider did not throw SecurityException as expected."); 111 fail("starting download service did not throw SecurityException as expected.");
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/io/ |
FileWrapper.java | 91 throw new StreamException(e); 106 throw new StreamException(e); 112 throw new StreamException(e);
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/ |
HttpURLConnectionImpl.java | 220 throw new IOException("stream closed"); 288 throw new ArrayIndexOutOfBoundsException(Msg.getString("K002e", offset)); 292 throw new ArrayIndexOutOfBoundsException(Msg.getString("K0031", length)); 442 throw new ArrayIndexOutOfBoundsException(Msg.getString("K002e", offset)); 446 throw new ArrayIndexOutOfBoundsException(Msg.getString("K0031", length)); 515 throw new IOException("actual length of " + actualLength + 528 throw new NullPointerException(); 531 throw new ArrayIndexOutOfBoundsException(Msg.getString("K002f")); 551 throw new IOException("declared fixed content length of " + fixedLength + 562 throw new IOException(Msg.getString("K0059")) [all...] |
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
ThreadTest.java | 106 // This is what we've been waiting for...don't throw it 416 throw new SecurityException(); 424 fail("Should throw SecurityException"); 445 * doesn't throw an exception. 771 throw new SecurityException(); 779 fail("Should throw SecurityException"); [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
GeneralName.java | 150 throw new IOException(Messages.getString("security.28")); //$NON-NLS-1$ 157 throw new IOException( Messages.getString("security.180", tag )); //$NON-NLS-1$ //$NON-NLS-2$ 184 throw new IOException(Messages.getString("security.181", tag)); //$NON-NLS-1$ //$NON-NLS-2$ 236 throw new IllegalArgumentException( 253 throw new NullPointerException(Messages.getString("security.28")); //$NON-NLS-1$ 256 throw new IOException(Messages.getString("security.183", tag)); //$NON-NLS-1$ 598 throw new IOException(Messages.getString("security.184", //$NON-NLS-1$ 606 throw new IOException(Messages.getString("security.185", dns)); //$NON-NLS-1$ 612 throw new IOException( 629 throw new IOException(Messages.getString("security.187", uri)); //$NON-NLS-1 [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
TextUtilsTest.java | 131 fail("Should throw NullPointerException"); 138 fail("Should throw NullPointerException"); 145 fail("Should throw NullPointerException"); 200 fail("Should throw NullPointerException"); 263 fail("Should throw IndexOutOfBoundsException"); 289 fail("Should throw IndexOutOfBoundsException"); 325 fail("Should throw IndexOutOfBoundsException"); 332 fail("Should throw IndexOutOfBoundsException"); 340 fail("Should throw NullPointerException"); 348 fail("Should throw NullPointerException") [all...] |