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

<<21222324252627282930>>

  /dalvik/libcore/archive/src/main/java/java/util/zip/
InflaterInputStream.java 107 throw new NullPointerException();
110 throw new IllegalArgumentException();
156 throw new IOException(Messages.getString("archive.1E")); //$NON-NLS-1$
160 throw new NullPointerException();
164 throw new IndexOutOfBoundsException();
178 throw new ArrayIndexOutOfBoundsException();
199 throw new EOFException();
205 throw new EOFException();
207 throw (IOException) (new IOException().initCause(e));
220 throw new IOException(Messages.getString("archive.1E")); //$NON-NLS-1
    [all...]
  /dalvik/libcore/luni/src/test/java/tests/api/java/net/
AuthenticatorTest.java 92 fail("Must throw IllegalArgumentException");
96 // Some old RIs throw IllegalArgumentException
97 // Latest RIs throw NullPointerException.
100 fail("Must throw an exception");
104 // other compilers will throw this
145 throw new SecurityException();
155 fail("Should throw SecurityException");
186 throw new SecurityException();
196 fail("Should throw SecurityException");
231 throw new SecurityException()
    [all...]
  /dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
SelectionKeyTest.java 198 fail("should throw IAE.");
205 fail("should throw IAE.");
211 fail("should throw IAE.");
219 fail("should throw IAE.");
353 fail("should throw IAE.");
372 fail("should throw CancelledKeyException.");
378 fail("should throw CancelledKeyException.");
384 fail("should throw CancelledKeyException.");
390 fail("should throw CancelledKeyException.");
397 fail("should throw CancelledKeyException.")
    [all...]
  /dalvik/libcore/xml/src/main/java/javax/xml/xpath/
XPathFactoryFinder.java 114 // The VM ran out of memory or there was some other serious problem. Re-throw.
116 throw vme;
120 throw td;
147 if(uri==null) throw new NullPointerException();
184 // The VM ran out of memory or there was some other serious problem. Re-throw.
186 throw vme;
190 throw td;
285 // The VM ran out of memory or there was some other serious problem. Re-throw.
287 throw vme;
291 throw td
    [all...]
  /dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/
ElementImpl.java 65 throw new DOMException(DOMException.INVALID_CHARACTER_ERR, name);
69 throw new DOMException(DOMException.INVALID_CHARACTER_ERR, name);
279 throw new DOMException(DOMException.NOT_FOUND_ERR, null);
315 throw new DOMException(DOMException.WRONG_DOCUMENT_ERR, null);
319 throw new DOMException(DOMException.INUSE_ATTRIBUTE_ERR, null);
340 throw new DOMException(DOMException.WRONG_DOCUMENT_ERR, null);
344 throw new DOMException(DOMException.INUSE_ATTRIBUTE_ERR, null);
396 throw new DOMException(DOMException.NOT_FOUND_ERR, null);
407 throw new DOMException(DOMException.NOT_FOUND_ERR, null);
415 throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null)
    [all...]
  /external/easymock/src/org/easymock/internal/
RecordState.java 84 throw new IllegalStateException("matcher calls were used outside expectations");
89 throw new RuntimeExceptionWrapper(new IllegalStateException(
261 throw new RuntimeExceptionWrapper(new IllegalStateException(
274 throw new RuntimeExceptionWrapper(new IllegalStateException(
282 throw new RuntimeExceptionWrapper(new IllegalStateException(
294 throw new RuntimeExceptionWrapper(new IllegalStateException(
301 throw new RuntimeExceptionWrapper(new NullPointerException(
306 throw new RuntimeExceptionWrapper(new IllegalArgumentException(
307 "last method called on mock cannot throw "
313 throw new RuntimeExceptionWrapper(new NullPointerException(
    [all...]
  /frameworks/base/core/java/android/bluetooth/
BluetoothSocket.java 122 throw new IOException("Invalid RFCOMM channel: " + port);
198 if (mClosed) throw new IOException("socket closed");
213 * throw an IOException.
250 * connected, but operations on that stream will throw IOException until
261 * connected, but operations on that stream will throw IOException until
286 if (mClosed) throw new IOException("socket closed");
296 if (mClosed) throw new IOException("socket closed");
306 if (mClosed) throw new IOException("socket closed");
316 if (mClosed) throw new IOException("socket closed");
359 if (canceled) throw new IOException("Service discovery canceled")
    [all...]
  /packages/apps/Email/src/com/android/email/mail/transport/
SmtpSender.java 73 throw new MessagingException("Invalid SmtpTransport URI", use);
78 throw new MessagingException("Unsupported protocol");
155 throw new MessagingException(MessagingException.TLS_REQUIRED);
177 throw new MessagingException(MessagingException.AUTH_REQUIRED);
184 throw new CertificateValidationException(e.getMessage(), e);
189 throw new MessagingException(MessagingException.IOERROR, ioe.toString());
200 throw new MessagingException("Trying to send non-existent message id="
225 throw new MessagingException("Unable to send message", ioe);
278 throw new MessagingException(result);
316 throw new AuthenticationFailedException(me.getMessage())
    [all...]
  /dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/
BreakIteratorTest.java 167 fail("should throw illegal argument exception");
174 fail("should throw illegal argument exception");
179 fail("should throw illegal argument exception");
192 fail("should throw illegal argument exception");
201 fail("should throw illegal argument exception");
206 fail("should throw illegal argument exception");
248 fail("should throw illegal argument exception");
259 fail("should throw illegal argument exception");
264 fail("should throw illegal argument exception");
528 fail("should throw NPE.")
    [all...]
  /dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/
ExpatPullParser.java 59 throw new IllegalArgumentException("Null feature name");
79 throw new XmlPullParserException("Unsupported feature: " + name);
85 throw new IllegalArgumentException("Null feature name");
114 throw new IllegalArgumentException("Null feature name");
118 throw new XmlPullParserException("Properties aren't supported.");
145 throw new UnsupportedOperationException();
203 throw new XmlPullParserException("Not on text.");
254 throw new UnsupportedOperationException();
279 throw new UnsupportedOperationException();
312 throw new UnsupportedOperationException()
    [all...]
  /frameworks/base/core/java/android/app/
ContextImpl.java 138 throw new ReceiverCallNotAllowedException(
148 throw new ReceiverCallNotAllowedException(
298 throw new RuntimeException("Not supported in system context");
306 throw new RuntimeException("Not supported in system context");
314 throw new RuntimeException("Not supported in system context");
322 throw new RuntimeException("Not supported in system context");
617 throw new AndroidRuntimeException(
640 throw new IntentSender.SendIntentException();
821 throw new RuntimeException("Not supported in system context");
832 throw new SecurityException
    [all...]
  /dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/
X509CertFactoryImpl.java 94 throw new CertificateException(Messages.getString("security.153")); //$NON-NLS-1$
114 throw new CertificateException(e);
128 throw new CertificateException(Messages.getString("security.153")); //$NON-NLS-1$
158 throw new CertificateException(
203 throw new CertificateException(
216 throw new CertificateException(
230 throw new CertificateException(
233 throw new CertificateException(e);
244 throw new CRLException(Messages.getString("security.153")); //$NON-NLS-1$
264 throw new CRLException(e)
    [all...]
  /external/emma/core/java12/com/vladium/util/args/
OptsParser.java 120 if (args == null) throw new IllegalArgumentException ("null input: args");
139 if (av == null) throw new IllegalArgumentException ("null input: args[" + a + "]");
421 throw new IllegalStateException ("failed to detect pattern prefix for [" + n + "]");
570 if (value == null) throw new IllegalArgumentException ("null input: value");
605 throw new IllegalStateException (errorsToString ());
646 throw new IllegalStateException (errorsToString ());
660 if (opt == null) throw new IllegalArgumentException ("null input: opt");
661 if (optdef == null) throw new IllegalArgumentException ("null input: optdef");
662 if (occuranceName == null) throw new IllegalArgumentException ("null input: occuranceName");
707 if (occuranceName == null) throw new IllegalArgumentException ("null input: occuranceName")
    [all...]
  /dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/
FileChannelImpl.java 64 throw new Error(e);
92 * Helper method to throw an exception if the channel is already closed.
98 throw new ClosedChannelException();
117 throw new IllegalArgumentException(Messages.getString("nio.0A")); //$NON-NLS-1$
206 throw new IOException(e.getMessage());
226 throw new IllegalArgumentException(Messages.getString("nio.0B")); //$NON-NLS-1$
237 throw new NullPointerException();
240 throw new IllegalArgumentException();
306 throw new IndexOutOfBoundsException();
401 throw new ClosedChannelException()
    [all...]
  /external/v8/src/
uri.js 95 throw new $URIError("URI malformed");
107 throw new $URIError("URI malformed");
113 throw new $URIError("URI malformed");
117 throw new $URIError("URI malformed");
123 throw new $URIError("URI malformed");
126 throw new $URIError("URI malformed");
130 throw new $URIError("URI malformed");
136 throw new $URIError("URI malformed");
139 throw new $URIError("URI malformed");
142 throw new $URIError("URI malformed")
    [all...]
  /cts/tests/tests/location/src/android/location/cts/
CriteriaTest.java 44 "should add @throw NullPointerException into javadoc when the parameter is null.")
65 fail("should throw NullPointerException.");
93 @ToBeFixed(bug = "1728526", explanation = "setAccuracy did not throw " +
105 // It should throw IllegalArgumentException
113 // It should throw IllegalArgumentException
146 fail("should throw IllegalArgumentException");
153 fail("should throw IllegalArgumentException");
  /cts/tests/tests/text/src/android/text/cts/
AndroidCharacterTest.java 117 fail("Should throw ArrayIndexOutOfBoundsException.");
123 fail("Should throw ArrayIndexOutOfBoundsException.");
129 fail("Should throw ArrayIndexOutOfBoundsException.");
166 fail("Should throw ArrayIndexOutOfBoundsException.");
172 fail("Should throw ArrayIndexOutOfBoundsException.");
178 fail("Should throw ArrayIndexOutOfBoundsException.");
184 fail("Should throw ArrayIndexOutOfBoundsException.");
  /dalvik/dx/src/com/android/dx/dex/code/
CstInsn.java 59 throw new NullPointerException("constant == null");
118 throw new RuntimeException("index not yet set for " + constant);
143 throw new IllegalArgumentException("index < 0");
147 throw new RuntimeException("index already set");
161 throw new RuntimeException("class index not yet set");
190 throw new IllegalArgumentException("index < 0");
194 throw new RuntimeException("class index already set");
  /dalvik/libcore/archive/src/main/java/java/util/jar/
InitManifest.java 50 throw new IOException(Messages.getString(
66 throw new IOException(Messages.getString("archive.23")); //$NON-NLS-1$
87 throw new IOException(Messages.getString("archive.34")); //$NON-NLS-1$
140 throw new IOException(Messages.getString(
150 throw new IOException(Messages.getString("archive.30", b)); //$NON-NLS-1$
154 throw new IOException(Messages.getString(
173 throw new IOException(Messages.getString("archive.2F")); //$NON-NLS-1$
  /dalvik/libcore/dom/src/test/java/org/w3c/domts/
BatikTestDocumentBuilderFactory.java 65 throw new DOMTestIncompatibleException(ex, null);
71 // the default SAX parser then throw an exception
76 // throw new DOMTestIncompatibleException(null,settings[i]);
98 throw new DOMTestIncompatibleException(
102 throw new DOMTestIncompatibleException(ex, null);
138 throw new DOMTestLoadException(ex.getTargetException());
141 throw new DOMTestLoadException(ex);
  /dalvik/libcore/luni/src/main/java/java/net/
URLDecoder.java 93 throw new NullPointerException();
96 // If the given encoding is an empty string throw an exception.
98 throw new UnsupportedEncodingException(
118 throw (UnsupportedEncodingException) (new UnsupportedEncodingException(
121 throw (UnsupportedEncodingException) (new UnsupportedEncodingException(
143 throw new IllegalArgumentException(
150 throw new IllegalArgumentException(
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
ListIteratorTest.java 77 if(((String) o).equals("Wrong element")) throw new IllegalArgumentException();
78 if(o.getClass() == Double.class) throw new ClassCastException();
79 throw new UnsupportedOperationException();
107 throw new UnsupportedOperationException();
111 if(((String) o).equals("Wrong element")) throw new IllegalArgumentException();
112 if(o.getClass() == Double.class) throw new ClassCastException();
113 throw new UnsupportedOperationException();
  /dalvik/libcore/nio/src/main/java/java/nio/
DoubleToByteBufferAdapter.java 115 throw new ReadOnlyBufferException();
140 throw new BufferUnderflowException();
148 throw new IndexOutOfBoundsException();
170 throw new UnsupportedOperationException();
175 throw new UnsupportedOperationException();
186 throw new BufferOverflowException();
195 throw new IndexOutOfBoundsException();
FloatToByteBufferAdapter.java 115 throw new ReadOnlyBufferException();
140 throw new BufferUnderflowException();
148 throw new IndexOutOfBoundsException();
170 throw new UnsupportedOperationException();
175 throw new UnsupportedOperationException();
186 throw new BufferOverflowException();
195 throw new IndexOutOfBoundsException();
IntToByteBufferAdapter.java 114 throw new ReadOnlyBufferException();
139 throw new BufferUnderflowException();
147 throw new IndexOutOfBoundsException();
169 throw new UnsupportedOperationException();
174 throw new UnsupportedOperationException();
185 throw new BufferOverflowException();
194 throw new IndexOutOfBoundsException();

Completed in 70 milliseconds

<<21222324252627282930>>