OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:throw
(Results
1601 - 1625
of
5185
) sorted by null
<<
61
62
63
64
65
66
67
68
69
70
>>
/dalvik/libcore/luni-kernel/src/main/java/java/lang/
ClassCache.java
109
throw
new AssertionError(ex);
116
throw
new AssertionError(ex);
130
throw
new NullPointerException("clazz == null");
297
throw
new NullPointerException("Method name must not be null.");
308
throw
new NoSuchMethodException(name);
501
throw
new NullPointerException("Field name must not be null.");
510
throw
new NoSuchFieldException(name);
637
throw
new UnsupportedOperationException(ex);
644
throw
new Error(ex);
648
throw
(RuntimeException) te
[
all
...]
/dalvik/libcore/nio_char/src/main/java/java/nio/charset/
CharsetDecoder.java
142
throw
new IllegalArgumentException(Messages.getString("niochar.00")); //$NON-NLS-1$
146
throw
new IllegalArgumentException(Messages.getString("niochar.01")); //$NON-NLS-1$
244
* checks the result whether it needs to
throw
CharacterCodingException.
249
throw
new MalformedInputException(result.length());
252
throw
new UnmappableCharacterException(result.length());
341
throw
new IllegalStateException();
353
throw
new CoderMalfunctionError(ex);
356
throw
new CoderMalfunctionError(ex);
461
throw
new UnsupportedOperationException();
498
throw
new IllegalStateException()
[
all
...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/
X509CertImpl.java
120
throw
new CertificateException(e);
162
throw
new CertificateNotYetValidException();
165
throw
new CertificateExpiredException();
184
throw
new CertificateNotYetValidException("current time: " + date
190
throw
new CertificateExpiredException("current time: " + date
411
throw
new CertificateParsingException(e);
438
// certificate generation, so now it can
throw
exception
441
throw
new CertificateParsingException(e);
457
// certificate generation, so now it can
throw
exception
460
throw
new CertificateParsingException(e)
[
all
...]
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
SSLEngineImpl.java
115
throw
new SSLException("Engine has already been closed.");
118
throw
new IllegalStateException("Client/Server mode was not set");
159
throw
new SSLException("Inbound is closed before close_notify "
276
throw
new IllegalArgumentException(
429
throw
new IllegalStateException(
461
throw
new IllegalStateException(
465
throw
new ReadOnlyBufferException();
499
throw
new SSLException(description);
522
throw
new AlertException(
558
throw
e.getReason()
[
all
...]
/dalvik/vm/oo/
Object.c
25
* Returns NULL if the field can't be found. (Does not
throw
an exception.)
59
* Returns NULL if the field can't be found. (Does not
throw
an exception.)
83
* Returns NULL if the field can't be found. (Does not
throw
an exception.)
113
* Returns NULL if the field can't be found. (Does not
throw
an exception.)
466
* Returns NULL if the method can't be found. (Does not
throw
an exception.)
474
// TODO? -
throw
IncompatibleClassChangeError if a match is
487
* Returns NULL if the method can't be found. (Does not
throw
an exception.)
509
* Returns NULL if the method can't be found. (Does not
throw
an exception.)
522
* Returns NULL if the method can't be found. (Does not
throw
an exception.)
535
* Returns NULL if the method can't be found. (Does not
throw
an exception.
[
all
...]
/frameworks/base/awt/java/awt/font/
TextLayout.java
141
throw
new IllegalArgumentException(Messages.getString("awt.01", "string")); //$NON-NLS-1$ //$NON-NLS-2$
146
throw
new IllegalArgumentException(Messages.getString("awt.01", "font")); //$NON-NLS-1$ //$NON-NLS-2$
151
throw
new IllegalArgumentException(Messages.getString("awt.02", "string")); //$NON-NLS-1$ //$NON-NLS-2$
177
throw
new IllegalArgumentException(Messages.getString("awt.01", "string")); //$NON-NLS-1$ //$NON-NLS-2$
182
throw
new IllegalArgumentException(Messages.getString("awt.01", "attributes")); //$NON-NLS-1$ //$NON-NLS-2$
187
throw
new IllegalArgumentException(Messages.getString("awt.02", "string")); //$NON-NLS-1$ //$NON-NLS-2$
208
throw
new IllegalArgumentException(Messages.getString("awt.03", "text")); //$NON-NLS-1$ //$NON-NLS-2$
213
throw
new IllegalArgumentException(Messages.getString("awt.04", "text")); //$NON-NLS-1$ //$NON-NLS-2$
496
throw
new IllegalArgumentException(Messages.getString("awt.195")); //$NON-NLS-1$
552
throw
new Error(Messages.getString("awt.196")); //$NON-NLS-1
[
all
...]
/cts/tests/tests/os/src/android/os/cts/
ParcelTest.java
303
fail("Should
throw
an SecurityException");
730
fail("Should
throw
a RuntimeException");
738
fail("Should
throw
a RuntimeException");
750
fail("Should
throw
a RuntimeException");
768
fail("Should
throw
a RuntimeException");
804
fail("Should
throw
a RuntimeException");
812
fail("Should
throw
a RuntimeException");
822
fail("Should
throw
a ArrayIndexOutOfBoundsException");
831
fail("Should
throw
a ArrayIndexOutOfBoundsException");
840
fail("Should
throw
a ArrayIndexOutOfBoundsException")
[
all
...]
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
SocketHandlerTest.java
149
fail("Should
throw
IllegalArgumentException!");
155
fail("Should
throw
IllegalArgumentException!");
161
fail("Should
throw
IllegalArgumentException!");
167
fail("Should
throw
IllegalArgumentException!");
173
fail("Should
throw
IllegalArgumentException!");
179
fail("Should
throw
IllegalArgumentException!");
185
fail("Should
throw
IllegalArgumentException!");
253
fail("Should
throw
IOException!");
293
fail("Should
throw
SecurityException!");
301
fail("Should
throw
SecurityException!")
[
all
...]
/dalvik/libcore/prefs/src/main/java/java/util/prefs/
AbstractPreferences.java
152
throw
new IllegalArgumentException();
282
* not been removed. This method should not
throw
any exceptions but if it
383
throw
new NullPointerException(Messages.getString("prefs.5")); //$NON-NLS-1$
395
throw
new NullPointerException(Messages.getString("prefs.5")); //$NON-NLS-1$
416
throw
new NullPointerException();
564
throw
new IllegalArgumentException(Messages.getString("prefs.6")); //$NON-NLS-1$
568
throw
new IllegalArgumentException(Messages.getString("prefs.7")); //$NON-NLS-1$
600
throw
new IllegalArgumentException(Messages.getString("prefs.8", //$NON-NLS-1$
619
throw
new NullPointerException();
628
throw
new IllegalStateException(Messages.getString("prefs.9")); //$NON-NLS-1
[
all
...]
/frameworks/base/core/java/android/content/res/
Resources.java
97
throw
new UnsupportedOperationException();
101
throw
new UnsupportedOperationException();
201
throw
new NotFoundException("String resource ID #0x"
225
throw
new NotFoundException("Plural resource ID #0x" + Integer.toHexString(id)
258
throw
new NotFoundException("String resource ID #0x"
365
throw
new NotFoundException("Text array resource ID #0x"
385
throw
new NotFoundException("String array resource ID #0x"
405
throw
new NotFoundException("Int array resource ID #0x"
425
throw
new NotFoundException("Array resource ID #0x"
460
throw
new NotFoundException
[
all
...]
/cts/tools/signature-tools/src/signature/converter/dex/
GenericSignatureParser.java
198
throw
new IllegalStateException("Generic signature is invalid!");
216
throw
new IllegalStateException("Generic signature is invalid!");
235
throw
new IllegalStateException("Generic signature is invalid!");
255
throw
new IllegalStateException(
369
throw
new GenericSignatureFormatError();
595
throw
new GenericSignatureFormatError();
603
throw
new GenericSignatureFormatError();
645
throw
new GenericSignatureFormatError();
648
throw
new GenericSignatureFormatError();
/dalvik/dx/src/com/android/dx/rop/code/
Insn.java
56
throw
new NullPointerException("opcode == null");
60
throw
new NullPointerException("position == null");
64
throw
new NullPointerException("sources == null");
188
* Gets whether this instruction can possibly
throw
an exception. This
191
* @return {@code true} iff this instruction can possibly
throw
201
*
throw
or if it merely doesn't handle any of its possible
202
* exceptions. To determine whether this instruction can
throw
,
221
*
throw
. To determine whether this instruction can
throw
, use
Rop.java
46
/** indicates a
throw
-style branch (both always-throws and may-
throw
) */
98
throw
new NullPointerException("result == null");
102
throw
new NullPointerException("sources == null");
106
throw
new NullPointerException("exceptions == null");
110
throw
new IllegalArgumentException("bogus branchingness");
114
throw
new IllegalArgumentException("exceptions / branchingness " +
398
* Gets whether this operation can possibly
throw
an exception. This
402
* @return {@code true} iff this operation can possibly
throw
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
CyclicBarrier.java
171
throw
new BrokenBarrierException();
175
throw
new InterruptedException();
204
throw
ie;
214
throw
new BrokenBarrierException();
221
throw
new TimeoutException();
242
if (parties <= 0)
throw
new IllegalArgumentException();
301
* then all other waiting threads will
throw
328
throw
new Error(toe); // cannot happen;
368
* waiting, then all other waiting threads will
throw
{@link
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/
NativeDecimalFormat.java
129
throw
npe;
131
throw
new IllegalArgumentException("syntax error: " + re.getMessage() + ": " + pattern);
219
throw
new NullPointerException();
235
throw
new NullPointerException();
244
throw
new NullPointerException();
253
throw
new NullPointerException();
275
throw
new IllegalArgumentException();
567
throw
npe;
569
throw
new IllegalArgumentException("syntax error: " + re.getMessage() + ": " + pattern);
/external/apache-http/src/org/apache/http/conn/ssl/
SSLSocketFactory.java
247
throw
new IllegalArgumentException("Keystore may not be null");
258
throw
new IllegalArgumentException("Keystore may not be null");
287
throw
new IllegalArgumentException("Target host may not be null.");
290
throw
new IllegalArgumentException("Parameters may not be null.");
326
throw
iox;
351
throw
new IllegalArgumentException("Socket may not be null.");
355
throw
new IllegalArgumentException
360
throw
new IllegalArgumentException("Socket is closed.");
388
throw
new IllegalArgumentException("Hostname verifier may not be null");
/external/apache-http/src/org/apache/http/message/
BasicTokenIterator.java
86
throw
new IllegalArgumentException
113
throw
new NoSuchElementException("Iteration already finished.");
147
throw
new UnsupportedOperationException
232
throw
new IllegalArgumentException
250
throw
new ParseException
288
throw
new IllegalArgumentException
301
throw
new ParseException
305
throw
new ParseException
328
throw
new IllegalArgumentException
/external/guava/src/com/google/common/collect/
CustomConcurrentHashMap.java
65
* creation of the iterator. They do <i>not</i>
throw
158
throw
new IllegalStateException(
162
throw
new IllegalArgumentException();
186
throw
new IllegalStateException(
190
throw
new IllegalArgumentException();
209
throw
new NullPointerException("strategy");
255
throw
new NullPointerException("strategy");
258
throw
new NullPointerException("computer");
477
*
throw
{@link UnsupportedOperationException} in {@link #setValue(Object,
647
throw
new NullPointerException("key")
[
all
...]
ImmutableMultiset.java
205
* Guaranteed to
throw
an exception and leave the collection unmodified.
210
throw
new UnsupportedOperationException();
214
* Guaranteed to
throw
an exception and leave the collection unmodified.
219
throw
new UnsupportedOperationException();
223
* Guaranteed to
throw
an exception and leave the collection unmodified.
228
throw
new UnsupportedOperationException();
232
* Guaranteed to
throw
an exception and leave the collection unmodified.
237
throw
new UnsupportedOperationException();
352
throw
new InvalidObjectException("Invalid count " + count);
/external/proguard/src/proguard/classfile/util/
SimplifiedVisitor.java
47
throw
new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called");
70
throw
new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called");
120
throw
new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called");
215
throw
new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called");
475
throw
new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called");
531
throw
new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called");
572
throw
new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called");
743
throw
new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called");
778
throw
new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called");
/packages/apps/Email/src/com/android/exchange/
SSLSocketFactory.java
251
throw
new IllegalArgumentException("Keystore may not be null");
262
throw
new IllegalArgumentException("Keystore may not be null");
291
throw
new IllegalArgumentException("Target host may not be null.");
294
throw
new IllegalArgumentException("Parameters may not be null.");
330
throw
iox;
355
throw
new IllegalArgumentException("Socket may not be null.");
359
throw
new IllegalArgumentException
364
throw
new IllegalArgumentException("Socket is closed.");
392
throw
new IllegalArgumentException("Hostname verifier may not be null");
/packages/apps/Email/src/com/android/exchange/adapter/
Parser.java
216
// If not,
throw
an exception
218
throw
new IOException("No END found!");
240
// If not,
throw
an exception
242
throw
new IOException("No END found!");
279
throw
new EodException();
298
throw
new EofException();
462
throw
new EofException();
487
throw
new IOException("Non integer");
517
throw
new EofException();
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
AndroidJarLoader.java
132
* May
throw
some exceptions if the framework JAR cannot be read.
172
throw
new InvalidAttributeValueException();
239
throw
new InvalidAttributeValueException();
281
throw
new ClassNotFoundException(name);
294
throw
new ClassNotFoundException(name);
297
throw
e;
299
throw
new ClassNotFoundException(e.getMessage());
360
throw
new InvalidAttributeValueException();
428
throw
e; // useful for debugging
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
ThreadGroupTest.java
113
fail("Should
throw
SecurityException");
314
fail("Should
throw
SecurityException");
354
fail("Should
throw
SecurityException");
434
fail("Should
throw
SecurityException");
473
fail("Should
throw
SecurityException");
539
fail("Should
throw
SecurityException");
689
fail("Should
throw
SecurityException");
711
fail("should
throw
IllegalThreadStateException");
869
fail("Should
throw
SecurityException");
[
all
...]
/cts/tests/tests/text/src/android/text/cts/
LayoutTest.java
80
fail("should
throw
IllegalArgumentException here");
99
fail("should
throw
NullPointerException here");
120
fail("should
throw
NullPointerException here");
127
fail("should
throw
NullPointerException here");
207
fail("should
throw
runtime exception attempted to reduce Layout width");
295
fail("should
throw
NullPointerException here");
312
fail("should
throw
NullPointerException here");
411
fail("should
throw
NullPointerException here");
443
fail("should
throw
.StringIndexOutOfBoundsException here");
493
fail("should
throw
NullPointerException here")
[
all
...]
Completed in 717 milliseconds
<<
61
62
63
64
65
66
67
68
69
70
>>