OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:throw
(Results
301 - 325
of
5185
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/cts/tests/tests/permission/src/android/permission/cts/
NoKeyPermissionTest.java
47
fail("KeyguardManager.KeyguardLock.disableKeyguard did not
throw
SecurityException as"
63
fail("KeyguardManager.KeyguardLock.reenableKeyguard did not
throw
SecurityException as"
79
fail("KeyguardManager.exitKeyguardSecurely did not
throw
SecurityException as"
NoLocationPermissionTest.java
71
"
throw
SecurityException as expected");
78
fail("TelephonyManager.getCellLocation did not
throw
SecurityException as expected");
101
"
throw
SecurityException as expected");
109
"
throw
SecurityException as expected");
146
fail("LocationManager.addProximityAlert did not
throw
SecurityException as expected");
167
"
throw
SecurityException as expected");
207
fail("LocationManager.getProvider did not
throw
SecurityException as expected");
248
fail("LocationManager.isProviderEnabled did not
throw
SecurityException as expected");
287
fail("LocationManager.addTestProvider did not
throw
SecurityException as expected");
301
fail("LocationManager.removeTestProvider did not
throw
SecurityException as
[
all
...]
/cts/tests/tests/util/src/android/util/cts/
AndroidExceptionTest.java
54
throw
new AndroidException();
59
throw
new AndroidException(NAME);
65
throw
new AndroidException(CAUSE);
AndroidRuntimeExceptionTest.java
54
throw
new AndroidRuntimeException();
59
throw
new AndroidRuntimeException(NAME);
65
throw
new AndroidRuntimeException(CAUSE);
/dalvik/dx/src/com/android/dx/util/
MutabilityControl.java
22
* and
throw
the right exception, but it is up to subclasses to place calls
77
throw
new MutabilityException("immutable instance");
86
throw
new MutabilityException("mutable instance");
/dalvik/libcore/luni/src/main/java/java/util/
InvalidPropertiesFormatException.java
31
* serializable. The methods used for serialization
throw
62
throw
new NotSerializableException();
67
throw
new NotSerializableException();
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/qualified/
Iso4217CurrencyCode.java
51
throw
new IllegalArgumentException("unknown object in getInstance");
59
throw
new IllegalArgumentException("wrong size in numeric code : not in (" +NUMERIC_MINSIZE +".."+ NUMERIC_MAXSIZE +")");
69
throw
new IllegalArgumentException("wrong size in alphabetic code : max size is " + ALPHABETIC_MAXSIZE);
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/
PrincipalUtil.java
37
throw
new CertificateEncodingException(e.toString());
60
throw
new CertificateEncodingException(e.toString());
83
throw
new CRLException(e.toString());
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MyKeyPairGeneratorSpi.java
41
throw
new InvalidParameterException(
45
throw
new IllegalArgumentException("Invalid random");
56
throw
new UnsupportedOperationException(
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/acl/
OwnerImpl.java
41
throw
new NotOwnerException();
55
if(!isOwner(principal))
throw
new NotOwnerException();
61
throw
new LastOwnerException();
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
MyCertStoreSpi.java
47
throw
new InvalidAlgorithmParameterException("Invalid params");
54
throw
new CertStoreException("Parameter is null");
62
throw
new CertStoreException("Parameter is null");
/dalvik/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
SSLSocketFactoryImpl.java
20
throw
new IOException("incorrect socket");
23
throw
new IOException("incorrect port");
26
throw
new UnknownHostException("incorrect host");
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/
EntityImpl.java
71
throw
new UnsupportedOperationException(); // TODO
75
throw
new UnsupportedOperationException(); // TODO
79
throw
new UnsupportedOperationException(); // TODO
/external/clearsilver/java-jni/
CSUtil.java
29
throw
new NullPointerException("No HDF loadpaths located in the specified"
49
throw
new NullPointerException("No filename provided");
52
throw
new NullPointerException("No loadpaths provided.");
/external/easymock/src/org/easymock/internal/
Range.java
34
throw
new RuntimeExceptionWrapper(new IllegalArgumentException(
39
throw
new RuntimeExceptionWrapper(new IllegalArgumentException(
44
throw
new RuntimeExceptionWrapper(new IllegalArgumentException(
/external/guava/src/com/google/common/collect/
ImmutableCollection.java
109
* Guaranteed to
throw
an exception and leave the collection unmodified.
114
throw
new UnsupportedOperationException();
118
* Guaranteed to
throw
an exception and leave the collection unmodified.
123
throw
new UnsupportedOperationException();
127
* Guaranteed to
throw
an exception and leave the collection unmodified.
132
throw
new UnsupportedOperationException();
136
* Guaranteed to
throw
an exception and leave the collection unmodified.
141
throw
new UnsupportedOperationException();
145
* Guaranteed to
throw
an exception and leave the collection unmodified.
150
throw
new UnsupportedOperationException()
[
all
...]
/external/v8/test/mjsunit/regress/
regress-1327557.js
28
var x = { valueOf: function() {
throw
"x"; } };
29
var y = { valueOf: function() {
throw
"y"; } };
33
assertUnreachable("Didn't
throw
an exception");
/external/webkit/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/
7.4.3-12-n.js
34
class do finally
throw
55
array[item++] = new TestCase( SECTION, "var
throw
= true", "error", "var
throw
= true" );
/frameworks/base/core/java/com/android/internal/policy/
PolicyManager.java
42
throw
new RuntimeException(
45
throw
new RuntimeException(
48
throw
new RuntimeException(
/frameworks/base/core/tests/coretests/src/android/widget/focus/
LinearLayoutGrid.java
41
throw
new IllegalArgumentException("row out of range");
44
throw
new IllegalArgumentException("column out of range");
60
throw
new IllegalArgumentException("column out of range");
/packages/apps/IM/src/com/android/im/imps/
CustomPresenceMapping.java
39
throw
new ImException(e);
41
throw
new ImException(e);
43
throw
new ImException(e);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
CursorBackedSuggestionCursor.java
82
throw
new IllegalStateException("Double close()");
89
// all operations on cross-process cursors can
throw
random exceptions
104
throw
new IllegalStateException("getCount() after close()");
110
// all operations on cross-process cursors can
throw
random exceptions
118
throw
new IllegalStateException("moveTo(" + pos + ") after close()");
125
// all operations on cross-process cursors can
throw
random exceptions
132
throw
new IllegalStateException("moveToNext() after close()");
137
// all operations on cross-process cursors can
throw
random exceptions
145
throw
new IllegalStateException("getPosition after close()");
150
// all operations on cross-process cursors can
throw
random exception
[
all
...]
/packages/apps/QuickSearchBox/tests/spammy/src/com/android/quicksearchbox/tests/spammy/
SpammySuggestionProvider.java
70
throw
new UnsupportedOperationException();
76
throw
new UnsupportedOperationException();
81
throw
new UnsupportedOperationException();
/cts/tests/src/android/os/cts/
TestThread.java
41
* Run the target Runnable object and wait until the test finish or
throw
69
* Wait for the test thread to complete and
throw
the stored exception if there is one.
79
throw
new Exception("Thread did not finish within allotted time.");
90
throw
mThrowable;
/cts/tools/signature-tools/src/signature/converter/
Main.java
45
throw
new UsageException();
50
throw
new UsageException();
55
throw
new UsageException();
71
throw
new UsageException();
Completed in 66 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>