/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
MatrixTrackingGL.java | 434 throw new IllegalArgumentException("Unknown matrix mode: " + mode); 754 throw new UnsupportedOperationException(); 758 throw new UnsupportedOperationException(); 762 throw new UnsupportedOperationException(); 766 throw new UnsupportedOperationException(); 770 throw new UnsupportedOperationException(); 774 throw new UnsupportedOperationException(); 778 throw new UnsupportedOperationException(); 782 throw new UnsupportedOperationException(); 786 throw new UnsupportedOperationException() [all...] |
/cts/tests/tests/permission/src/android/permission/cts/ |
NoWifiStatePermissionTest.java | 49 fail("WifiManager.getWifiState didn't throw SecurityException as expected"); 63 fail("WifiManager.getConfiguredNetworks didn't throw SecurityException as expected"); 77 fail("WifiManager.getConnectionInfo didn't throw SecurityException as expected"); 91 fail("WifiManager.getScanResults didn't throw SecurityException as expected"); 105 fail("WifiManager.getDhcpInfo didn't throw SecurityException as expected"); 119 fail("WifiManager.disconnect didn't throw SecurityException as expected"); 133 fail("WifiManager.reconnect didn't throw SecurityException as expected"); 147 fail("WifiManager.reassociate didn't throw SecurityException as expected"); 161 fail("WifiManager.addNetwork didn't throw SecurityException as expected"); 177 fail("WifiManager.updateNetwork didn't throw SecurityException as expected") [all...] |
/dalvik/libcore/xml/src/test/java/tests/api/org/xml/sax/ext/ |
DefaultHandler2Test.java | 53 throw new RuntimeException("Unexpected exception", e); 66 throw new RuntimeException("Unexpected exception", e); 79 throw new RuntimeException("Unexpected exception", e); 92 throw new RuntimeException("Unexpected exception", e); 105 throw new RuntimeException("Unexpected exception", e); 118 throw new RuntimeException("Unexpected exception", e); 131 throw new RuntimeException("Unexpected exception", e); 145 throw new RuntimeException("Unexpected exception", e); 158 throw new RuntimeException("Unexpected exception", e); 171 throw new RuntimeException("Unexpected exception", e) [all...] |
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
FileChannelTest.java | 83 throw new Error(e); 287 fail("should throw ClosedChannelException"); 294 fail("should throw ClosedChannelException"); 436 fail("should throw ClosedChannelException"); 444 fail("should throw ClosedChannelException"); 452 fail("should throw ClosedChannelException"); 473 fail("should throw ClosedChannelException"); 481 fail("should throw ClosedChannelException"); 489 fail("should throw ClosedChannelException"); 508 fail("should throw IllegalArgumentException") [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
JCERSACipher.java | 60 throw new IllegalArgumentException(e.getMessage()); 83 throw new NoSuchPaddingException("no match on OAEP constructor for digest algorithm: "+ mgfParams.getDigestAlgorithm()); 98 throw new IllegalStateException("RSA Cipher not initialised"); 123 throw new IllegalArgumentException("not an RSA key!"); 135 throw new IllegalStateException("RSA Cipher not initialised"); 152 throw new RuntimeException(e.toString()); 184 throw new NoSuchAlgorithmException("can't support mode " + mode); 235 throw new NoSuchPaddingException(padding + " unavailable with RSA."); 254 throw new InvalidKeyException( 264 throw new InvalidKeyException [all...] |
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
ReadOnlyCharBufferTest.java | 67 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 92 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 106 fail("Should throw Exception"); //$NON-NLS-1$ 121 fail("Should throw Exception"); //$NON-NLS-1$ 137 fail("Should throw Exception"); //$NON-NLS-1$ 143 fail("Should throw Exception"); //$NON-NLS-1$ 159 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 165 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 171 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 177 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1 [all...] |
/frameworks/base/awt/javax/imageio/ |
IIOParam.java | 99 throw new IllegalArgumentException("x < 0"); 102 throw new IllegalArgumentException("y < 0"); 105 throw new IllegalArgumentException("width <= 0"); 108 throw new IllegalArgumentException("height <= 0"); 112 throw new IllegalArgumentException("width <= subsamplingXOffset"); 116 throw new IllegalArgumentException("height <= subsamplingXOffset"); 156 throw new IllegalArgumentException("sourceXSubsampling <= 0"); 159 throw new IllegalArgumentException("sourceYSubsampling <= 0"); 163 throw new IllegalArgumentException("subsamplingXOffset is wrong"); 167 throw new IllegalArgumentException("subsamplingYOffset is wrong") [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
SSLPerformanceTest.java | 314 throw new RuntimeException(e); 316 throw new RuntimeException(e); 318 throw new RuntimeException(e); 350 throw new UnsupportedOperationException(); 354 throw new UnsupportedOperationException(); 358 throw new UnsupportedOperationException(); 366 throw new UnsupportedOperationException(); 370 throw new UnsupportedOperationException(); 374 throw new UnsupportedOperationException(); 378 throw new UnsupportedOperationException() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/ |
MockXmlNode.java | 178 throw new UnsupportedOperationException("Operation not implemented."); //$NON-NLS-1$ 201 throw new UnsupportedOperationException("Operation not implemented."); //$NON-NLS-1$ 205 throw new UnsupportedOperationException("Operation not implemented."); //$NON-NLS-1$ 209 throw new UnsupportedOperationException("Operation not implemented."); //$NON-NLS-1$ 213 throw new UnsupportedOperationException("Operation not implemented."); //$NON-NLS-1$ 217 throw new UnsupportedOperationException("Operation not implemented."); //$NON-NLS-1$ 221 throw new UnsupportedOperationException("Operation not implemented."); //$NON-NLS-1$ 225 throw new UnsupportedOperationException("Operation not implemented."); //$NON-NLS-1$ 230 throw new UnsupportedOperationException("Operation not implemented."); //$NON-NLS-1$ 234 throw new UnsupportedOperationException("Operation not implemented."); //$NON-NLS-1 [all...] |
/build/tools/droiddoc/test/stubs/expected/com/android/stubs/ |
Parent.java | 9 public Parent() { throw new RuntimeException("Stub!"); } 10 public java.lang.String methodString() { throw new RuntimeException("Stub!"); } 11 public int method(boolean b, char c, int i, long l, float f, double d) { throw new RuntimeException("Stub!"); } 12 protected void protectedMethod() { throw new RuntimeException("Stub!"); }
|
/cts/tests/tests/text/src/android/text/cts/ |
SelectionTest.java | 80 @ToBeFixed(bug = "1417734",explanation = "throw unexpected IndexOutOfBoundsException" + 106 fail("should throw IndexOutOfBoundsException"); 112 fail("should throw NullPointerException"); 122 @ToBeFixed(bug = "1417734",explanation = "throw unexpected IndexOutOfBoundsException" + 139 fail("should throw IndexOutOfBoundsException"); 145 fail("should throw IndexOutOfBoundsException"); 151 fail("should throw NullPointerException"); 161 @ToBeFixed(bug = "1371108",explanation = "throw unexpected NullPointerException") 182 fail("should throw NullPointerException"); 192 @ToBeFixed(bug = "1371108",explanation = "throw unexpected NullPointerException" [all...] |
/dalvik/docs/opcodes/ |
opcode-27-throw.html | 6 <title>throw</title> 12 <h1>throw</h1> 17 Throw the indicated exception. 33 <td>throw vAA</td>
|
/dalvik/dx/tests/055-dex-explicit-throw/ |
info.txt | 2 explicit use of "throw" gets converted reasonably.
|
/dalvik/dx/tests/098-dex-jsr-ret-throw/ |
info.txt | 2 It contains an example of a subroutine being exited by a "throw" instruction in
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/ |
CertPathReviewerException.java | 34 throw new IllegalArgumentException(); 38 throw new IndexOutOfBoundsException(); 52 throw new IllegalArgumentException(); 56 throw new IndexOutOfBoundsException();
|
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyFailingCertPath.java | 13 throw new CertificateEncodingException("testing purpose");
|
MyFailingCertificate.java | 13 throw new CertificateEncodingException("testing purpose");
|
/dalvik/libcore/xml/src/test/java/tests/api/org/xml/sax/helpers/ |
DefaultHandlerTest.java | 53 throw new RuntimeException(e); 55 throw new RuntimeException(e); 68 throw new RuntimeException(e); 82 throw new RuntimeException(e); 104 throw new RuntimeException(e); 117 throw new RuntimeException(e); 130 throw new RuntimeException(e); 143 throw new RuntimeException(e); 157 throw new RuntimeException(e); 170 throw new RuntimeException(e) [all...] |
/dalvik/tests/003-omnibus-opcodes/ |
expected.txt | 65 Throw.one 66 Throw.twoA 67 Throw.twoN 68 Throw.rethrow
|
/dalvik/tests/007-exceptions/src/ |
Main.java | 36 npe2 = new NullPointerException("second throw"); 38 throw npe2; 43 throw new NullPointerException("first throw");
|
/external/easymock/src/org/easymock/internal/ |
MockInvocationHandler.java | 41 throw e.getRuntimeException().fillInStackTrace();
43 throw e.getAssertionError().fillInStackTrace();
45 throw t.getThrowable().fillInStackTrace();
47 throw t; // let all unwrapped pass unmodified
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Statements/ |
try-010.js | 28 NestedTry( new TryObject( "Throw Exception in Outer Try", ThrowException, NoException, 48 )); 29 NestedTry( new TryObject( "Throw Exception in Inner Try", NoException, ThrowException, 45 )); 30 NestedTry( new TryObject( "Throw Exception in Both Trys", ThrowException, ThrowException, 48 )); 41 throw EXCEPTION_STRING + this.value;
|
/external/webkit/LayoutTests/storage/ |
open-database-set-empty-version-expected.txt | 1 This tests that calling openDatabase with an empty version string sets the current version of that database to the empty string and subsequent attempts to open the database with a different expected version throw an exception.
|
/frameworks/base/awt/java/awt/color/ |
ICC_ProfileStub.java | 46 throw new IllegalArgumentException(Messages.getString("awt.15D")); //$NON-NLS-1$ 53 throw new UnsupportedOperationException("Stub cannot perform this operation"); //$NON-NLS-1$ 67 throw new UnsupportedOperationException("Stub cannot perform this operation"); //$NON-NLS-1$ 72 throw new UnsupportedOperationException("Stub cannot perform this operation"); //$NON-NLS-1$ 77 throw new UnsupportedOperationException("Stub cannot perform this operation"); //$NON-NLS-1$ 82 throw new UnsupportedOperationException("Stub cannot perform this operation"); //$NON-NLS-1$ 96 throw new UnsupportedOperationException("Stub cannot perform this operation"); //$NON-NLS-1$ 110 throw new UnsupportedOperationException("Stub cannot perform this operation"); //$NON-NLS-1$ 116 throw new UnsupportedOperationException("Stub cannot perform this operation"); //$NON-NLS-1$ 121 throw new UnsupportedOperationException("Stub cannot perform this operation"); //$NON-NLS-1 [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
AndroidGlyphVector.java | 135 throw new RuntimeException("Not implemented!"); 140 throw new RuntimeException("Not implemented!"); 145 throw new RuntimeException("Not implemented!"); 150 throw new RuntimeException("Not implemented!"); 164 throw new RuntimeException("Not implemented!"); 169 throw new RuntimeException("Not implemented!"); 175 throw new RuntimeException("Not implemented!"); 180 throw new RuntimeException("Not implemented!"); 185 throw new RuntimeException("Not implemented!"); 190 throw new RuntimeException("Not implemented!") [all...] |