OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:throw
(Results
126 - 150
of
5185
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/webkit/LayoutTests/storage/
execute-sql-args.html
7
throwOnToStringObject.toString = function () {
throw
"Cannot call toString on this object." };
10
throwOnGetLengthObject.__defineGetter__("length", function () {
throw
"Cannot get length of this object."; });
13
throwOnGetZeroObject.__defineGetter__("0", function () {
throw
"Cannot get 0 property of this object."; });
71
writeMessageToLog("*FAIL*. executeSql(" + parameterList + ") did not
throw
an exception");
76
writeMessageToLog("PASS. executeSql(" + parameterList + ") did not
throw
an exception");
/frameworks/base/media/libdrm/mobile2/src/util/domcore/
CharacterDataImpl.cpp
19
const DOMString* CharacterDataImpl::getData() const
throw
(DOMException)
37
void CharacterDataImpl::setData(const DOMString* data)
throw
(DOMException)
56
void CharacterDataImpl::appendData(const DOMString* arg)
throw
(DOMException)
67
const DOMString* CharacterDataImpl::getNodeValue() const
throw
(DOMException)
73
void CharacterDataImpl::setNodeValue(DOMString* nodeValue)
throw
(DOMException)
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
AddressListParser.jj
80
throw
new ParseException(tme.getMessage());
131
throw
(RuntimeException)jjte000;
134
throw
(ParseException)jjte000;
136
throw
(Error)jjte000;
168
throw
(RuntimeException)jjte000;
171
throw
(ParseException)jjte000;
173
throw
(Error)jjte000;
205
throw
(RuntimeException)jjte000;
208
throw
(ParseException)jjte000;
210
throw
(Error)jjte000
[
all
...]
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/
ReadOnlyDoubleBufferTest.java
67
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
92
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
106
fail("Should
throw
Exception"); //$NON-NLS-1$
121
fail("Should
throw
Exception"); //$NON-NLS-1$
137
fail("Should
throw
Exception"); //$NON-NLS-1$
143
fail("Should
throw
Exception"); //$NON-NLS-1$
159
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
165
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
171
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
177
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1
[
all
...]
ReadOnlyFloatBufferTest.java
66
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
92
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
107
fail("Should
throw
Exception"); //$NON-NLS-1$
122
fail("Should
throw
Exception"); //$NON-NLS-1$
138
fail("Should
throw
Exception"); //$NON-NLS-1$
144
fail("Should
throw
Exception"); //$NON-NLS-1$
160
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
166
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
172
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
178
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1
[
all
...]
ReadOnlyIntBufferTest.java
66
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
92
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
107
fail("Should
throw
Exception"); //$NON-NLS-1$
122
fail("Should
throw
Exception"); //$NON-NLS-1$
138
fail("Should
throw
Exception"); //$NON-NLS-1$
144
fail("Should
throw
Exception"); //$NON-NLS-1$
160
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
166
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
172
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
178
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1
[
all
...]
ReadOnlyLongBufferTest.java
66
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
92
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
107
fail("Should
throw
Exception"); //$NON-NLS-1$
122
fail("Should
throw
Exception"); //$NON-NLS-1$
138
fail("Should
throw
Exception"); //$NON-NLS-1$
144
fail("Should
throw
Exception"); //$NON-NLS-1$
160
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
166
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
172
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
178
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1
[
all
...]
ReadOnlyShortBufferTest.java
66
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
92
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
107
fail("Should
throw
Exception"); //$NON-NLS-1$
122
fail("Should
throw
Exception"); //$NON-NLS-1$
138
fail("Should
throw
Exception"); //$NON-NLS-1$
144
fail("Should
throw
Exception"); //$NON-NLS-1$
160
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
166
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
172
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
178
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1
[
all
...]
WrappedCharBufferTest2.java
55
fail("Should
throw
Exception"); //$NON-NLS-1$
61
fail("Should
throw
Exception"); //$NON-NLS-1$
67
fail("Should
throw
Exception"); //$NON-NLS-1$
73
fail("Should
throw
Exception"); //$NON-NLS-1$
79
fail("Should
throw
Exception"); //$NON-NLS-1$
94
fail("Should
throw
UnsupportedOperationException"); //$NON-NLS-1$
108
fail("Should
throw
Exception"); //$NON-NLS-1$
123
fail("Should
throw
ReadOnlyBufferException"); //$NON-NLS-1$
129
fail("Should
throw
NullPointerException"); //$NON-NLS-1$
135
fail("Should
throw
BufferOverflowException"); //$NON-NLS-1
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
BasePullParser.java
54
throw
new XmlPullParserException("Unsupported feature: " + name);
68
throw
new XmlPullParserException("setProperty() not supported");
76
throw
new XmlPullParserException("setInput() not supported");
81
throw
new XmlPullParserException("setInput() not supported");
86
throw
new XmlPullParserException("defineEntityReplacementText() not supported");
90
throw
new XmlPullParserException("getNamespacePrefix() not supported");
98
throw
new RuntimeException("getNamespace() not supported");
102
throw
new XmlPullParserException("getNamespaceCount() not supported");
106
throw
new XmlPullParserException("getNamespaceUri() not supported");
144
throw
new XmlPullParserException("Nothing after the end")
[
all
...]
/cts/tests/tests/text/src/android/text/cts/
SpannableStringBuilderTest.java
68
fail("should
throw
NullPointerException");
86
fail("should
throw
StringIndexOutOfBoundsException");
92
fail("should
throw
StringIndexOutOfBoundsException");
98
fail("should
throw
StringIndexOutOfBoundsException");
152
fail("should
throw
IndexOutOfBoundsException here");
158
fail("should
throw
..IndexOutOfBoundsException here");
182
fail("should
throw
NullPointerException here");
188
fail("should
throw
NullPointerException here");
216
fail("should
throw
IndexOutOfBoundsException here");
222
fail("should
throw
IndexOutOfBoundsException here")
[
all
...]
/dalvik/libcore/crypto/src/main/java/javax/crypto/
EncryptedPrivateKeyInfo.java
86
throw
new NullPointerException(Messages.getString("crypto.22")); //$NON-NLS-1$
142
throw
new NullPointerException(Messages.getString("crypto.23")); //$NON-NLS-1$
146
throw
new NoSuchAlgorithmException(Messages.getString("crypto.24", this.algName)); //$NON-NLS-1$
149
throw
new NullPointerException(
153
throw
new IllegalArgumentException(Messages.getString("crypto.26")); //$NON-NLS-1$
180
throw
new NullPointerException(Messages.getString("crypto.27")); //$NON-NLS-1$
184
throw
new NullPointerException(
188
throw
new IllegalArgumentException(Messages.getString("crypto.26")); //$NON-NLS-1$
195
throw
new NoSuchAlgorithmException(Messages.getString("crypto.24", this.algName)); //$NON-NLS-1$
249
throw
new NullPointerException(Messages.getString("crypto.28")); //$NON-NLS-1
[
all
...]
/dalvik/libcore/nio/src/main/java/java/nio/
DirectByteBuffer.java
79
throw
new IllegalArgumentException("slice out of range");
98
throw
new IndexOutOfBoundsException();
101
throw
new BufferUnderflowException();
111
throw
new BufferUnderflowException();
119
throw
new IndexOutOfBoundsException();
128
throw
new BufferUnderflowException();
138
throw
new IndexOutOfBoundsException();
147
throw
new BufferUnderflowException();
157
throw
new IndexOutOfBoundsException();
166
throw
new BufferUnderflowException()
[
all
...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
JDKAlgorithmParameterGenerator.java
56
throw
new InvalidAlgorithmParameterException("DH parameter generator requires a DHGenParameterSpec for initialisation");
89
throw
new RuntimeException(e.getMessage());
104
throw
new InvalidAlgorithmParameterException("No supported AlgorithmParameterSpec for DSA parameter generation.");
131
throw
new RuntimeException(e.getMessage());
147
//
throw
new InvalidAlgorithmParameterException("No supported AlgorithmParameterSpec for GOST3410 parameter generation.");
174
//
throw
new RuntimeException(e.getMessage());
193
//
throw
new InvalidAlgorithmParameterException("DH parameter generator requires a DHGenParameterSpec for initialisation");
226
//
throw
new RuntimeException(e.getMessage());
242
throw
new InvalidAlgorithmParameterException("No supported AlgorithmParameterSpec for DES parameter generation.");
265
throw
new RuntimeException(e.getMessage())
[
all
...]
JDKPSSSigner.java
46
throw
new IllegalArgumentException("unknown trailer field");
80
throw
new InvalidKeyException("Supplied key is not a RSAPublicKey instance");
95
throw
new InvalidKeyException("Supplied key is not a RSAPrivateKey instance");
108
throw
new InvalidKeyException("Supplied key is not a RSAPrivateKey instance");
140
throw
new SignatureException(e.getMessage());
163
throw
new InvalidParameterException("parameter must be using " + originalSpec.getDigestAlgorithm());
168
throw
new InvalidParameterException("unknown mask generation function specified");
173
throw
new InvalidParameterException("unkown MGF parameters");
180
throw
new InvalidParameterException("digest algorithm for MGF should be the same as for PSS parameters.");
187
throw
new InvalidParameterException("no match on MGF digest algorithm: "+ mgfParams.getDigestAlgorithm() (…)
[
all
...]
WrapCipherSpi.java
111
throw
new NoSuchAlgorithmException("can't support mode " + mode);
118
throw
new NoSuchPaddingException("Padding " + padding + " unknown.");
144
throw
new InvalidAlgorithmParameterException("PBE requires PBE parameters to be set.");
169
throw
new IllegalArgumentException("engine only valid for wrapping");
201
throw
new InvalidAlgorithmParameterException("can't handle parameter " + params.toString());
221
throw
new IllegalArgumentException(e.getMessage());
230
throw
new RuntimeException("not supported for wrapping");
241
throw
new RuntimeException("not supported for wrapping");
274
throw
new InvalidKeyException("Cannot wrap key, null encoding.");
290
throw
new IllegalBlockSizeException(e.getMessage())
[
all
...]
/frameworks/base/core/java/com/android/internal/util/
FastXmlSerializer.java
169
throw
new UnsupportedOperationException();
174
throw
new UnsupportedOperationException();
179
throw
new UnsupportedOperationException();
205
throw
new UnsupportedOperationException();
225
throw
new IOException(result.toString());
244
throw
new UnsupportedOperationException();
248
throw
new UnsupportedOperationException();
252
throw
new UnsupportedOperationException();
256
throw
new UnsupportedOperationException();
261
throw
new UnsupportedOperationException()
[
all
...]
/cts/tests/tests/permission/src/android/permission/cts/
NoSystemFunctionPermissionTest.java
51
fail("ActivityManager.restartPackage() didn't
throw
SecurityException as expected.");
71
fail("AlarmManager.setTimeZone() did not
throw
SecurityException as expected.");
89
fail("Context.setWallpaper(BitMap) did not
throw
SecurityException as expected.");
96
fail("Context.setWallpaper(InputStream) did not
throw
SecurityException as expected.");
103
fail("Context.clearWallpaper() did not
throw
SecurityException as expected.");
120
fail("Vibrator.cancel() did not
throw
SecurityException as expected.");
127
fail("Vibrator.vibrate(long) did not
throw
SecurityException as expected.");
136
fail("Vibrator.vibrate(long[], int) not
throw
SecurityException as expected.");
153
fail("SmsManager.sendDataMessage() did not
throw
SecurityException as expected.");
NoBroadcastPackageRemovedPermissionTest.java
41
fail("Context.sendStickyBroadcast did not
throw
SecurityException as expected");
48
fail("Context.removeStickyBroadcast did not
throw
SecurityException as expected");
68
fail("Context.sendBroadcast did not
throw
SecurityException as expected");
76
fail("Context.sendBroadcast did not
throw
SecurityException as expected");
84
fail("Context.sendOrderedBroadcast did not
throw
SecurityException as expected");
92
fail("Context.sendOrderedBroadcast did not
throw
SecurityException as expected");
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
MyCertificateFactorySpi.java
69
throw
new CertificateException("Incorrect inputstream");
78
throw
new CertificateException("Incorrect inputstream");
85
throw
new CRLException("Incorrect inputstream");
94
throw
new CRLException("Incorrect inputstream");
102
throw
new CertificateException("Incorrect inputstream");
106
throw
new CertificateException("There are no CertPath encodings");
114
throw
new CertificateException("Incorrect inputstream");
118
throw
new IllegalArgumentException("Encoding is empty");
127
throw
new NullPointerException("certificates is null");
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
TrustManagerFactoryImpl.java
77
throw
new KeyStoreException(e);
79
throw
new KeyStoreException(e);
81
throw
new KeyStoreException(e);
100
throw
new KeyStoreException(e);
102
throw
new KeyStoreException(e);
104
throw
new KeyStoreException(e);
106
throw
new KeyStoreException(e);
119
throw
new InvalidAlgorithmParameterException(
129
throw
new IllegalStateException(
/external/stlport/test/unit/
exception_test.cpp
56
throw
std::bad_exception();
61
throw
special_except();
64
void throw_except_func()
throw
(std::exception) {
72
throw
std::runtime_error( std::string( "message" ) );
126
throw
"exception";
140
throw
std::runtime_error(foo);
153
throw
std::runtime_error(foo);
167
throw
std::runtime_error(msg);
180
throw
std::runtime_error(msg);
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
ClassSourcerTest.java
61
"
throw
new RuntimeException(\"Stub\");" +
64
"
throw
new RuntimeException(\"Stub\");" +
67
"
throw
new RuntimeException(\"Stub\");" +
70
"
throw
new RuntimeException(\"Stub\");" +
89
"
throw
new RuntimeException(\"Stub\");\n" +
92
"
throw
new RuntimeException(\"Stub\");\n" +
95
"
throw
new RuntimeException(\"Stub\");\n" +
98
"
throw
new RuntimeException(\"Stub\");\n" +
118
"
throw
new RuntimeException(\"Stub\");\n" +
121
"
throw
new RuntimeException(\"Stub\");\n" +
[
all
...]
/frameworks/base/opengl/java/android/opengl/
GLUtils.java
48
throw
new NullPointerException("getInternalFormat can't be used with a null Bitmap");
52
throw
new IllegalArgumentException("Unknown internalformat");
67
throw
new NullPointerException("getType can't be used with a null Bitmap");
71
throw
new IllegalArgumentException("Unknown type");
101
throw
new NullPointerException("texImage2D can't be used with a null Bitmap");
104
throw
new IllegalArgumentException("invalid Bitmap format");
124
throw
new NullPointerException("texImage2D can't be used with a null Bitmap");
127
throw
new IllegalArgumentException("invalid Bitmap format");
143
throw
new NullPointerException("texImage2D can't be used with a null Bitmap");
146
throw
new IllegalArgumentException("invalid Bitmap format")
[
all
...]
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
SourceChannelTest.java
117
fail("should
throw
NullPointerException");
161
fail("should
throw
ClosedChannelException");
169
fail("should
throw
ClosedChannelException");
177
fail("should
throw
NullPointerException");
187
fail("should
throw
NullPointerException");
195
fail("should
throw
ClosedChannelException");
271
fail("should
throw
NullPointerException");
281
fail("should
throw
NullPointerException");
289
fail("should
throw
NullPointerException");
336
fail("should
throw
ClosedChannelException")
[
all
...]
Completed in 222 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>