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

<<31323334353637383940>>

  /dalvik/libcore/luni/src/main/java/java/io/
BufferedOutputStream.java 95 throw new IllegalArgumentException(Msg.getString("K0058")); //$NON-NLS-1$
110 throw new IOException(Msg.getString("K0059")); //$NON-NLS-1$
147 throw new IOException(Msg.getString("K0059")); //$NON-NLS-1$
152 throw new NullPointerException(Msg.getString("K0047")); //$NON-NLS-1$
163 throw new ArrayIndexOutOfBoundsException(Msg.getString("K002e", offset)); //$NON-NLS-1$
168 throw new ArrayIndexOutOfBoundsException(Msg.getString("K0031", length)); //$NON-NLS-1$
209 throw new IOException(Msg.getString("K0059")); //$NON-NLS-1$
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
SystemTest.java 66 throw new SecurityException();
104 throw new SecurityException();
142 throw new SecurityException();
360 throw new SecurityException();
366 throw new SecurityException();
375 fail("Should throw SecurityException");
450 throw new SecurityException();
533 throw new SecurityException();
589 throw new SecurityException();
694 throw new SecurityException()
    [all...]
  /dalvik/libcore/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
FilePreferencesImplTest.java 235 fail("should throw security exception");
241 fail("should throw security exception");
246 fail("should throw security exception");
254 fail("should throw security exception");
261 fail("should throw security exception");
309 throw new SecurityException();
319 throw new SecurityException();
  /dalvik/libcore/security/src/main/java/java/security/
BasicPermissionCollection.java 68 throw new SecurityException(Messages.getString("security.15")); //$NON-NLS-1$
71 throw new IllegalArgumentException(Messages.getString("security.20")); //$NON-NLS-1$
77 throw new IllegalArgumentException(Messages.getString("security.16", //$NON-NLS-1$
81 throw new IllegalArgumentException(Messages.getString("security.16", //$NON-NLS-1$
87 throw new IllegalArgumentException(Messages.getString("security.16", //$NON-NLS-1$
193 throw new InvalidObjectException(Messages.getString("security.24")); //$NON-NLS-1$
198 throw new InvalidObjectException(Messages.getString("security.25")); //$NON-NLS-1$
  /dalvik/libcore/security/src/main/java/org/bouncycastle/jce/
X509V2CRLGenerator.java 130 throw new IllegalArgumentException("Unknown signature type requested");
172 throw new IllegalArgumentException("error encoding value: " + e);
221 throw new SecurityException("BC provider not installed!");
241 throw new SecurityException("BC provider not installed!");
281 throw new SecurityException("exception creating signature: " + e.toString());
312 throw new SecurityException("exception encoding TBS cert - " + e);
328 throw new IllegalStateException("attempt to create malformed CRL: " + e.getMessage());
  /dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
JDKDSASigner.java 105 throw new InvalidKeyException("can't recognise key type in DSA based signer");
110 throw new InvalidKeyException("can't recognise key type in DSA based signer");
193 throw new SignatureException(e.toString());
213 throw new SignatureException("error decoding signature bytes.");
222 throw new UnsupportedOperationException("engineSetParameter unsupported");
232 throw new UnsupportedOperationException("engineSetParameter unsupported");
241 throw new UnsupportedOperationException("engineSetParameter unsupported");
JDKPKCS12KeyStore.java 185 throw new IllegalArgumentException("can't create cert factory - " + e.toString());
201 throw new RuntimeException("error creating key");
272 throw new KeyStoreException("no such entry as " + alias);
284 throw new IllegalArgumentException("null alias passed to getCertificate.");
347 throw new IllegalArgumentException("null alias passed to getCertificateChain.");
385 throw new RuntimeException(e.toString());
458 throw new IllegalArgumentException("null alias passed to getKey.");
483 throw new KeyStoreException("There is already a certificate with the name " + alias + ".");
496 throw new RuntimeException("operation not supported");
508 throw new KeyStoreException("no certificate chain for private key")
    [all...]
  /dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
SSLSessionImpl.java 241 throw new SSLPeerUnverifiedException("No peer certificate");
257 throw new SSLPeerUnverifiedException("No peer certificate");
272 throw new SSLPeerUnverifiedException("No peer certificate");
291 throw new IllegalArgumentException("Parameter is null");
322 throw new IllegalArgumentException("Parameter is null");
336 throw new IllegalArgumentException("Parameter is null");
350 throw new AssertionError(e);
  /dalvik/libcore/xml/src/main/java/org/apache/xalan/templates/
ElemExtensionDecl.java 116 throw new ArrayIndexOutOfBoundsException();
172 throw new ArrayIndexOutOfBoundsException();
208 throw new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_NO_NAMESPACE_DECL, new Object[]{prefix}));
236 throw new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_ELEM_CONTENT_NOT_ALLOWED, new Object[]{scriptSrc}));
288 throw new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_NO_NAMESPACE_DECL, new Object[]{prefix}));
324 throw new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_ELEM_CONTENT_NOT_ALLOWED, new Object[]{scriptSrc}));
334 // Element content is not supported for this so we throw an exception if
  /external/apache-http/src/org/apache/http/conn/
MultihomePlainSocketFactory.java 106 throw new IllegalArgumentException("Target host may not be null.");
109 throw new IllegalArgumentException("Parameters may not be null.");
139 throw ex;
148 throw lastEx;
169 throw new IllegalArgumentException("Socket may not be null.");
175 throw new IllegalArgumentException
181 throw new IllegalArgumentException("Socket is closed.");
  /external/apache-http/src/org/apache/http/impl/cookie/
RFC2109Spec.java 106 throw new IllegalArgumentException("Header may not be null");
109 throw new IllegalArgumentException("Cookie origin may not be null");
119 throw new IllegalArgumentException("Cookie may not be null");
123 throw new MalformedCookieException("Cookie name may not contain blanks");
126 throw new MalformedCookieException("Cookie name may not start with $");
133 throw new IllegalArgumentException("List of cookies may not be null");
136 throw new IllegalArgumentException("List of cookies may not be empty");
RFC2965Spec.java 100 throw new IllegalArgumentException("Header may not be null");
103 throw new IllegalArgumentException("Cookie origin may not be null");
115 throw new MalformedCookieException("Cookie name may not be empty");
156 throw new IllegalArgumentException("Cookie may not be null");
159 throw new IllegalArgumentException("Cookie origin may not be null");
168 throw new IllegalArgumentException("Cookie may not be null");
171 throw new IllegalArgumentException("Cookie origin may not be null");
  /external/apache-http/src/org/apache/http/impl/io/
AbstractMessageParser.java 70 throw new IllegalArgumentException("Session input buffer may not be null");
73 throw new IllegalArgumentException("HTTP parameters may not be null");
107 throw new IllegalArgumentException("Session input buffer may not be null");
143 throw new IOException("Maximum line length limit exceeded");
153 throw new IOException("Maximum header count exceeded");
162 throw new ProtocolException(ex.getMessage());
176 throw new ProtocolException(px.getMessage(), px);
  /external/emma/ant/ant14/com/vladium/emma/instr/
instrTask.java 57 throw (BuildException) newBuildException (getTaskName ()
61 throw (BuildException) newBuildException (getTaskName ()
111 throw (BuildException) newBuildException (getTaskName ()
120 throw (BuildException) newBuildException (getTaskName ()
132 throw (BuildException) newBuildException (getTaskName ()
141 throw (BuildException) newBuildException (getTaskName ()
161 throw (BuildException) newBuildException (getTaskName ()
  /frameworks/base/awt/java/awt/image/
ColorModel.java 123 throw new IllegalArgumentException(Messages.getString("awt.26B")); //$NON-NLS-1$
128 throw new NullPointerException(Messages.getString("awt.26C")); //$NON-NLS-1$
135 throw new IllegalArgumentException(Messages.getString("awt.26D")); //$NON-NLS-1$
142 throw new NullPointerException(Messages.getString("awt.26E")); //$NON-NLS-1$
147 throw new IllegalArgumentException(Messages.getString("awt.26F")); //$NON-NLS-1$
152 throw new IllegalArgumentException(Messages.getString("awt.270")); //$NON-NLS-1$
195 throw new IllegalArgumentException(Messages.getString("awt.271")); //$NON-NLS-1$
228 throw new UnsupportedOperationException("This method is not " + //$NON-NLS-1$
267 throw new UnsupportedOperationException("This method is not " + //$NON-NLS-1$
294 throw new UnsupportedOperationException("This method is not " + //$NON-NLS-1
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/
AdnRecordLoader.java 144 throw new RuntimeException("get EF record size failed",
155 throw new RuntimeException("get wrong EF record size format",
162 throw new RuntimeException("worong ADN format",
175 throw new RuntimeException("update EF adn record failed",
186 throw new RuntimeException("load failed", ar.exception);
218 throw new RuntimeException("load failed", ar.exception);
238 throw new RuntimeException("load failed", ar.exception);
  /packages/apps/Gallery3D/src/com/cooliris/picasa/
TableContentProvider.java 68 throw new IllegalArgumentException("Invalid URI: " + uri);
82 throw new IllegalArgumentException("Invalid URI: " + uri);
107 throw new IllegalArgumentException("Invalid URI: " + uri);
118 throw new SQLException("Failed to insert row at: " + uri);
128 throw new IllegalArgumentException("Invalid URI: " + uri);
155 throw new IllegalArgumentException("Invalid URI: " + uri);
177 throw new IllegalArgumentException("Invalid URI: " + uri);
  /packages/apps/Mms/src/com/android/mms/model/
MediaModelFactory.java 81 throw new IllegalArgumentException("No part found for the model.");
108 throw new IllegalArgumentException("Region not found or bad region ID.");
116 throw new IllegalArgumentException(
152 throw new UnsupportContentTypeException(
156 throw new IllegalArgumentException("Unsupported TAG: " + tag);
185 throw new UnsupportContentTypeException(
189 throw new IllegalArgumentException("Unsupported TAG: " + tag);
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java 121 throw new IllegalArgumentException("Unknown URI " + uri);
151 throw new IllegalArgumentException("Unknown URI " + uri);
159 throw new IllegalArgumentException("Unknown URI " + uri);
170 throw new SQLException("Word must be specified");
192 throw new SQLException("Failed to insert row into " + uri);
211 throw new IllegalArgumentException("Unknown URI " + uri);
235 throw new IllegalArgumentException("Unknown URI " + uri);
  /dalvik/libcore/luni/src/main/java/java/net/
DatagramSocket.java 117 throw new IllegalArgumentException(Msg.getString("K0325", aPort)); //$NON-NLS-1$
149 throw new IllegalArgumentException(Msg.getString("K0032")); //$NON-NLS-1$
206 throw e;
351 throw new NullPointerException();
375 throw e;
438 throw new IllegalArgumentException(Msg.getString("K0034")); //$NON-NLS-1$
449 throw new NullPointerException(Msg.getString("KA019")); //$NON-NLS-1$
479 throw new IllegalArgumentException(Msg.getString("K0035")); //$NON-NLS-1$
499 throw new IllegalArgumentException(Msg.getString("K0035")); //$NON-NLS-1$
520 throw new IllegalArgumentException(Msg.getString("K0036")); //$NON-NLS-1
    [all...]
  /dalvik/libcore/luni/src/test/java/tests/api/java/util/
PriorityQueueTest.java 85 fail("should throw NoSuchElementException");
93 fail("should throw IllegalStateException");
115 fail("should throw NoSuchElementException");
125 fail("should throw NoSuchElementException");
188 fail("should throw IllegalStateException");
196 fail("should throw IllegalStateException");
296 fail("should throw IllegalArgumentException");
303 fail("should throw IllegalArgumentException");
369 fail("should throw NullPointerException");
390 fail("should throw ClassCastException")
    [all...]
  /frameworks/base/core/java/android/pim/vcard/
VCardParser_V21.java 199 throw new VCardException("Reached end of buffer.");
277 throw new VCardException(
284 throw new VCardException("Reached where must not be reached.");
309 throw new VCardException("Expected END:VCARD was not found.");
322 throw new VCardException("END:VCARD != \"" + mPreviousLine + "\"");
386 throw new VCardInvalidLineException("Invalid line \"" + line + "\"");
405 throw new VCardNestedException("This vCard has nested vCard data in it.");
407 throw new VCardException("Unknown BEGIN type: " + propertyValue);
411 throw new VCardVersionException("Incompatible version: " +
420 throw new VCardException("Unknown property name: \"" + propertyName + "\"")
    [all...]
  /external/apache-http/src/org/apache/http/impl/client/
DefaultRequestDirector.java 175 throw new IllegalArgumentException
179 throw new IllegalArgumentException
183 throw new IllegalArgumentException
187 throw new IllegalArgumentException
191 throw new IllegalArgumentException
195 throw new IllegalArgumentException
199 throw new IllegalArgumentException
203 throw new IllegalArgumentException
207 throw new IllegalArgumentException
211 throw new IllegalArgumentExceptio
    [all...]
  /cts/tests/tests/location/src/android/location/cts/
LocationTest.java 61 "should add @throw NullPointerException into javadoc")
71 fail("should throw NullPointerException");
132 fail("should throw NullPointerException");
166 fail("should throw IllegalArgumentException.");
173 fail("should throw IllegalArgumentException.");
180 fail("should throw IllegalArgumentException.");
208 fail("should throw NullPointerException.");
215 fail("should throw IllegalArgumentException.");
222 fail("should throw IllegalArgumentException.");
229 fail("should throw IllegalArgumentException.")
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
ArrayAdapterTest.java 111 fail("should throw NullPointerException");
232 fail("should throw IndexOutOfBoundsException");
238 fail("should throw IndexOutOfBoundsException");
245 fail("should throw IndexOutOfBoundsException");
252 fail("should throw IndexOutOfBoundsException");
272 * we set a xml that not contain a textview, so exception should throw to lete us know
291 fail("should throw IllegalStateException");
333 fail("should throw IndexOutOfBoundsException");
340 fail("should throw IndexOutOfBoundsException");
367 fail("should throw IndexOutOfBoundsException")
    [all...]

Completed in 610 milliseconds

<<31323334353637383940>>