HomeSort by relevance Sort by last modified time
    Searched full:throw (Results 801 - 825 of 5185) sorted by null

<<31323334353637383940>>

  /frameworks/base/tests/permission/src/com/android/framework/permission/tests/
ServiceManagerPermissionTests.java 41 fail("ServiceManager.addService did not throw SecurityException as"
58 fail("IServiceManager.setPermissionController did not throw SecurityException as"
  /packages/apps/Email/src/com/android/email/mail/store/
ExchangeStore.java 71 throw new MessagingException("Invalid uri for ExchangeStore");
182 throw new MessagingException("Invalid scheme");
210 throw new MessagingException("host not specified");
220 throw new MessagingException("user information not specifed");
224 throw new MessagingException("user name and password not specified");
245 throw new AuthenticationFailedException("Authentication failed.");
247 throw new MessagingException(result);
251 throw new MessagingException("Call to validate generated an exception", e);
  /packages/apps/IM/src/com/android/im/imps/
ImpsContactListAddress.java 35 throw new IllegalArgumentException("resource can not be null");
42 throw new IllegalArgumentException("resource can not be null");
ImpsGroupAddress.java 41 throw new IllegalArgumentException();
48 throw new IllegalArgumentException();
XmlPrimitiveParser.java 45 throw new ImException(e);
55 throw new ParserException(e);
  /packages/apps/IM/src/com/android/im/service/
AndroidSystemService.java 58 throw new IllegalStateException("Hasn't been initialized yet");
69 throw new IllegalStateException("Hasn't been initialized yet");
  /frameworks/base/awt/java/awt/image/
Raster.java 123 throw new RasterFormatException(Messages.getString("awt.22E")); //$NON-NLS-1$
133 throw new RasterFormatException(Messages.getString("awt.276")); //$NON-NLS-1$
138 throw new ArrayIndexOutOfBoundsException(Messages.getString("awt.277")); //$NON-NLS-1$
143 throw new NullPointerException(Messages.getString("awt.278")); //$NON-NLS-1$
151 throw new IllegalArgumentException(Messages.getString("awt.230")); //$NON-NLS-1$
188 throw new RasterFormatException(Messages.getString("awt.22E")); //$NON-NLS-1$
198 throw new RasterFormatException(Messages.getString("awt.276")); //$NON-NLS-1$
203 throw new ArrayIndexOutOfBoundsException(Messages.getString("awt.277")); //$NON-NLS-1$
209 throw new IllegalArgumentException(Messages.getString("awt.230")); //$NON-NLS-1$
267 throw new RasterFormatException(Messages.getString("awt.22E")); //$NON-NLS-1
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
AssetFileDescriptorTest.java 108 fail("Should throw IllegalArgumentException");
114 fail("Should throw IOException");
139 fail("Should throw IOException");
145 fail("Should throw IllegalArgumentException");
158 fail("Should throw IOException");
169 fail("Should throw IOException");
  /cts/tests/tests/widget/src/android/widget/cts/
TextSwitcherTest.java 181 fail("Should throw IllegalStateException");
189 fail("Should throw IndexOutOfBoundsException");
204 fail("Should throw IllegalStateException");
214 fail("Should throw IllegalArgumentException");
221 fail("Should throw IllegalArgumentException");
228 fail("Should throw NullPointerException");
  /dalvik/dx/src/com/android/dx/dex/file/
ClassDefsSection.java 69 throw new NullPointerException("cst == null");
78 throw new IllegalArgumentException("not found");
117 throw new NullPointerException("clazz == null");
123 throw new IllegalArgumentException("already added: " + type);
155 * throw an exception indicating class definition circularity
166 throw new RuntimeException("class circularity with " + type);
  /dalvik/libcore/dom/src/test/java/org/w3c/domts/
XercesHTML2DocumentBuilderFactory.java 78 throw new DOMTestIncompatibleException(
83 throw new DOMTestIncompatibleException(ex, null);
88 // may throw exception if incompatible
98 throw new DOMTestIncompatibleException(ex, null);
101 throw new DOMTestIncompatibleException(ex, null);
209 throw new DOMTestLoadException(ex);
XercesHTMLDocumentBuilderFactory.java 78 throw new DOMTestIncompatibleException(
83 throw new DOMTestIncompatibleException(ex, null);
88 // may throw exception if incompatible
98 throw new DOMTestIncompatibleException(ex, null);
101 throw new DOMTestIncompatibleException(ex, null);
209 throw new DOMTestLoadException(ex);
  /dalvik/libcore/luni/src/main/java/java/lang/
AbstractStringBuilder.java 67 throw new InvalidObjectException(Msg.getString("K0199")); //$NON-NLS-1$
81 throw new NegativeArraySizeException();
127 throw new ArrayIndexOutOfBoundsException(Msg.getString("K002e", offset)); //$NON-NLS-1$
131 throw new ArrayIndexOutOfBoundsException(Msg.getString("K0031", length)); //$NON-NLS-1$
170 throw new IndexOutOfBoundsException();
222 throw new StringIndexOutOfBoundsException(index);
252 throw new StringIndexOutOfBoundsException();
257 throw new StringIndexOutOfBoundsException(location);
316 throw new StringIndexOutOfBoundsException();
323 throw new StringIndexOutOfBoundsException(index)
    [all...]
  /dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/
Array.java 100 throw new NullPointerException();
102 throw new IllegalArgumentException("Not an array");
132 throw new NullPointerException();
134 throw new IllegalArgumentException("Wrong array type");
136 throw new IllegalArgumentException("Not an array");
198 throw new NullPointerException();
200 throw new IllegalArgumentException("Wrong array type");
202 throw new IllegalArgumentException("Not an array");
344 throw new NullPointerException();
346 throw new IllegalArgumentException("Not an array")
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
OrderedTable.java 64 throw new NullPointerException("key == null");
68 throw new NullPointerException("value == null");
155 throw new IndexOutOfBoundsException(Integer.toString(n));
175 throw new IndexOutOfBoundsException(Integer.toString(n));
209 throw new ConcurrentModificationException();
218 throw new ConcurrentModificationException();
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/engines/
AESWrapEngine.java 44 throw new IllegalArgumentException("IV not multiple of 8");
61 throw new IllegalStateException("not set for wrapping");
68 throw new DataLengthException("wrap data must be a multiple of 8 bytes");
113 throw new IllegalStateException("not set for unwrapping");
120 throw new InvalidCipherTextException("unwrap data must be a multiple of 8 bytes");
161 throw new InvalidCipherTextException("checksum failed");
  /dalvik/libcore/security/src/main/java/org/bouncycastle/jce/
X509V1CertificateGenerator.java 130 throw new IllegalArgumentException("unable to process key - " + e.toString());
143 throw new IllegalArgumentException("Unknown signature type requested");
167 throw new SecurityException("BC provider not installed!");
186 throw new SecurityException("BC provider not installed!");
228 throw new SecurityException("exception creating signature: " + e.toString());
254 throw new SecurityException("exception encoding TBS cert - " + e);
  /dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
JDKKeyStore.java 303 throw new UnrecoverableKeyException("no match");
309 throw new UnrecoverableKeyException("no match");
314 throw new RuntimeException("forget something!");
349 throw new IOException(ex.toString());
371 throw new IOException(ex.toString());
375 throw new IOException(ex.toString());
431 throw new IOException("Key format " + format + " not recognised!");
445 throw new IOException("Key type " + keyType + " not recognised!");
450 throw new IOException("Exception creating key: " + e.toString());
476 throw new IOException("Error initialising store of key store: " + e)
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/x509/
X509V2AttributeCertificateGenerator.java 120 throw new IllegalArgumentException("Unknown signature type requested");
144 throw new RuntimeException("not implemented (yet)");
209 throw new IllegalStateException("no signature algorithm specified");
224 throw new SecurityException("exception creating signature: " + e.toString());
255 throw new SecurityException("exception encoding Attribute cert - " + e);
270 throw new RuntimeException("constructed invalid certificate!");
  /dalvik/libcore/sql/src/test/java/tests/java/sql/
QueryTimeoutTest.java 156 throw new TestFailedException(e); // See finally block below
166 // 2. We don't expect close() to throw
168 throw new TestFailedException(ee);
322 throw new TestFailedException(failMsg);
326 throw new TestFailedException(sqlException);
337 throw new TestFailedException(e);
360 throw new TestFailedException("Unexpected Exception", e);
388 throw new TestFailedException("Should never happen", e);
413 throw new TestFailedException("Unexpected exception in " + i,
427 throw new TestFailedException(e)
    [all...]
  /dalvik/libcore/xml/src/main/java/org/apache/xalan/extensions/
ExtensionsTable.java 180 throw e;
184 throw new javax.xml.transform.TransformerException(e);
189 throw new XPathProcessorException(XSLMessages.createMessage(XSLTErrorResources.ER_EXTENSION_FUNC_UNKNOWN, new Object[]{ns, funcName }));
226 throw e;
230 throw new javax.xml.transform.TransformerException(e);
235 throw new XPathProcessorException(XSLMessages.createMessage(XSLTErrorResources.ER_EXTENSION_FUNC_UNKNOWN,
  /dalvik/libcore/xml/src/main/java/org/apache/xpath/objects/
XRTreeFragSelectWrapper.java 88 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_DETACH_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, null)); //"detach() not supported by XRTreeFragSelectWrapper!");
100 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NUM_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, null)); //"num() not supported by XRTreeFragSelectWrapper!");
111 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, null)); //"xstr() not supported by XRTreeFragSelectWrapper!");
121 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, null)); //"str() not supported by XRTreeFragSelectWrapper!");
141 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, null)); //"rtf() not supported by XRTreeFragSelectWrapper!");
151 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, null)); //"asNodeIterator() not supported by XRTreeFragSelectWrapper!");
  /external/apache-http/src/org/apache/http/conn/params/
ConnManagerParams.java 64 throw new IllegalArgumentException("HTTP parameters may not be null");
78 throw new IllegalArgumentException("HTTP parameters may not be null");
104 throw new IllegalArgumentException
121 throw new IllegalArgumentException
144 throw new IllegalArgumentException
162 throw new IllegalArgumentException
  /external/apache-http/src/org/apache/http/conn/scheme/
PlainSocketFactory.java 90 throw new IllegalArgumentException("Target host may not be null.");
93 throw new IllegalArgumentException("Parameters may not be null.");
121 throw new ConnectTimeoutException("Connect to " + remoteAddress + " timed out");
143 throw new IllegalArgumentException("Socket may not be null.");
149 throw new IllegalArgumentException
155 throw new IllegalArgumentException("Socket is closed.");
  /external/easymock/src/org/easymock/
IExpectationSetters.java 40 * the throwable to throw.
47 * invocation (either return a value, or throw an exception).
59 * (either return a value, or throw an exception).
80 * the throwable to throw.
86 * expected invocation (either return a value, or throw an exception).
97 * mock (either return a value, or throw an exception).

Completed in 304 milliseconds

<<31323334353637383940>>