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

<<41424344454647484950>>

  /cts/tests/src/android/content/cts/
MockContentProvider.java 112 throw new IllegalArgumentException("Unknown URL " + uri);
132 throw new IllegalArgumentException("Unknown URL " + uri);
161 throw new IllegalArgumentException("Unknown URL " + uri);
173 throw new SQLException("Failed to insert row into " + uri);
204 throw new IllegalArgumentException("Unknown URL " + uri);
252 throw new IllegalArgumentException("Unknown URL " + uri);
  /dalvik/dx/src/com/android/dx/rop/code/
LocalVariableInfo.java 57 throw new NullPointerException("method == null");
83 throw new NullPointerException("specs == null");
90 throw new IllegalArgumentException("bogus label");
190 throw new NullPointerException("insn == null");
194 throw new NullPointerException("spec == null");
247 throw new IllegalArgumentException("bogus label");
  /dalvik/dx/src/com/android/dx/ssa/
LocalVariableInfo.java 59 throw new NullPointerException("method == null");
84 throw new NullPointerException("specs == null");
91 throw new IllegalArgumentException("bogus index");
191 throw new NullPointerException("insn == null");
195 throw new NullPointerException("spec == null");
248 throw new IllegalArgumentException("bogus index");
  /dalvik/dx/src/com/android/dx/util/
TwoColumnOutput.java 73 throw new RuntimeException("shouldn't happen", ex);
91 throw new NullPointerException("out == null");
95 throw new IllegalArgumentException("leftWidth < 1");
99 throw new IllegalArgumentException("rightWidth < 1");
103 throw new NullPointerException("spacer == null");
161 throw new RuntimeException(ex);
  /dalvik/libcore/auth/src/main/java/javax/security/auth/x500/
X500Principal.java 76 throw new IllegalArgumentException(Messages.getString("auth.00")); //$NON-NLS-1$
85 throw iae;
103 throw new NullPointerException(Messages.getString("auth.2C")); //$NON-NLS-1$
112 throw iae;
130 throw new NullPointerException(Messages.getString("auth.00")); //$NON-NLS-1$
138 throw iae;
  /dalvik/libcore/crypto/src/main/java/javax/crypto/spec/
DESKeySpec.java 122 throw new NullPointerException(Messages.getString("crypto.2F")); //$NON-NLS-1$
125 throw new InvalidKeyException(
160 throw new InvalidKeyException(Messages.getString("crypto.2F")); //$NON-NLS-1$
163 throw new InvalidKeyException(
199 throw new InvalidKeyException(Messages.getString("crypto.2F")); //$NON-NLS-1$
202 throw new InvalidKeyException(
  /dalvik/libcore/luni/src/main/java/java/net/
URIEncoderDecoder.java 57 throw new URISyntaxException(s, Msg.getString("K0313"), //$NON-NLS-1$
63 throw new URISyntaxException(s, Msg.getString("K0314", //$NON-NLS-1$
76 throw new URISyntaxException(s, Msg.getString("K00c1"), i); //$NON-NLS-1$
88 throw new URISyntaxException(s, Msg.getString("K00c1"), i); //$NON-NLS-1$
194 throw new IllegalArgumentException(Msg.getString(
200 throw new IllegalArgumentException(Msg.getString(
  /dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/https/
HttpsURLConnectionImpl.java 62 throw new IllegalStateException(Messages.getString("luni.00")); //$NON-NLS-1$
70 throw new IllegalStateException(Messages.getString("luni.00")); //$NON-NLS-1$
79 throw new IllegalStateException(Messages.getString("luni.00")); //$NON-NLS-1$
87 throw new IllegalStateException(Messages.getString("luni.00")); //$NON-NLS-1$
95 throw new IllegalStateException(Messages.getString("luni.00")); //$NON-NLS-1$
385 throw new IOException(Messages.getString("luni.01", //$NON-NLS-1$
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
EnumTest.java 89 fail("Should throw NullPointerException");
202 fail("Should throw NullPointerException");
206 // other compilers will throw this
228 // other compilers will throw this
236 // other compilers will throw this
244 // other compilers will throw this
  /dalvik/libcore/security/src/main/java/java/security/
Permissions.java 72 throw new SecurityException(Messages.getString("security.15")); //$NON-NLS-1$
76 throw new NullPointerException(Messages.getString("security.20")); //$NON-NLS-1$
160 throw new NoSuchElementException(Messages.getString("security.17")); //$NON-NLS-1$
167 throw new NullPointerException(Messages.getString("security.21")); //$NON-NLS-1$
223 throw new InvalidObjectException(Messages.getString("security.22")); //$NON-NLS-1$
230 throw new InvalidObjectException(Messages.getString("security.23")); //$NON-NLS-1$
  /dalvik/libcore/security/src/main/java/org/bouncycastle/openssl/
PEMWriter.java 115 throw new IOException("Cannot encode object: " + e.toString());
127 throw new IOException("Cannot encode object: " + e.toString());
172 throw new IOException("Cannot identify private key");
200 throw new IOException("unknown object passed - can't encode.");
238 throw new IOException("unknown algorithm in writeObject");
279 throw new IOException("exception using cipher: " + e.toString());
  /dalvik/libcore/x-net/src/main/java/javax/net/ssl/
SSLContext.java 55 throw new NullPointerException("protocol is null");
84 throw new IllegalArgumentException("Provider is null");
87 throw new IllegalArgumentException("Provider is empty");
91 throw new NoSuchProviderException(provider);
115 throw new IllegalArgumentException("provider is null");
118 throw new NullPointerException("protocol is null");
  /dalvik/libcore/xml/src/main/java/org/apache/xalan/transformer/
TrAXFilter.java 133 throw new org.xml.sax.SAXException( ex );
135 throw new org.xml.sax.SAXException( ex1.toString() );
161 throw new org.xml.sax.SAXException(XSLMessages.createMessage(XSLTErrorResources.ER_CANNOT_CALL_PARSE, null)); //"parse can not be called if the ContentHandler has not been set!");
169 throw (org.xml.sax.SAXException)e;
171 throw new org.xml.sax.SAXException(e);
204 throw new NullPointerException(XSLMessages.createMessage(XSLTErrorResources.ER_NO_PARENT_FOR_FILTER, null)); //"No parent for filter");
  /dalvik/libcore/xml/src/main/java/org/apache/xpath/
NodeSetDTM.java 415 throw new RuntimeException(
482 throw new RuntimeException(
539 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESETDTM_NOT_MUTABLE, null)); //"This NodeSetDTM is not mutable!");
557 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESETDTM_NOT_MUTABLE, null)); //"This NodeSetDTM is not mutable!");
573 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESETDTM_NOT_MUTABLE, null)); //"This NodeSetDTM is not mutable!");
592 // throw new RuntimeException("This NodeSetDTM is not mutable!");
633 // throw new RuntimeException("This NodeSetDTM is not mutable!");
650 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESETDTM_NOT_MUTABLE, null)); //"This NodeSetDTM is not mutable!");
679 // throw new RuntimeException("This NodeSetDTM is not mutable!");
707 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESETDTM_NOT_MUTABLE, (…)
    [all...]
  /development/samples/NotePad/src/com/example/android/notepad/
NotePadProvider.java 118 throw new IllegalArgumentException("Unknown URI " + uri);
149 throw new IllegalArgumentException("Unknown URI " + uri);
157 throw new IllegalArgumentException("Unknown URI " + uri);
195 throw new SQLException("Failed to insert row into " + uri);
214 throw new IllegalArgumentException("Unknown URI " + uri);
237 throw new IllegalArgumentException("Unknown URI " + uri);
  /external/apache-http/src/org/apache/http/conn/params/
ConnRouteParams.java 89 throw new IllegalArgumentException("Parameters must not be null.");
114 throw new IllegalArgumentException("Parameters must not be null.");
133 throw new IllegalArgumentException("Parameters must not be null.");
158 throw new IllegalArgumentException("Parameters must not be null.");
178 throw new IllegalArgumentException("Parameters must not be null.");
197 throw new IllegalArgumentException("Parameters must not be null.");
  /external/apache-http/src/org/apache/http/impl/conn/
DefaultClientConnection.java 115 sock.close(); // allow this to throw...
116 // ...but if it doesn't, explicitly throw one ourselves.
117 throw new IOException("Connection already shutdown");
125 throw new IllegalArgumentException
215 throw new IllegalArgumentException
219 throw new IllegalArgumentException
  /external/emma/core/java12/com/vladium/emma/report/
SourcePathCache.java 39 if (sourcepath == null) throw new IllegalArgumentException ("null input: sourcepath");
61 if (sourcepath == null) throw new IllegalArgumentException ("null input: sourcepath");
83 if (packageVMName == null) throw new IllegalArgumentException ("null input: packageVMName");
84 if (name == null) throw new IllegalArgumentException ("null input: name");
168 throw new IllegalArgumentException ("null input: extension");
174 throw new IllegalArgumentException ("empty input: extension");
  /external/webkit/JavaScriptCore/API/tests/
testapi.js 67 fail(a + " did not throw an exception.");
127 // If getOwnPropertyDescriptor() returned an access descriptor, this wouldn't throw.
138 // if getOwnPropertyDescriptor() returned an access descriptor, this wouldn't throw.
184 // base properties throw 1 when set; derived, 2
205 // base properties throw 1 when set; derived, 2
250 throw "Some tests failed";
  /frameworks/base/core/java/android/database/sqlite/
SQLiteOpenHelper.java 55 if (version < 1) throw new IllegalArgumentException("Version must be >= 1, was " + version);
81 throw new IllegalStateException("getWritableDatabase called recursively");
154 throw new IllegalStateException("getReadableDatabase called recursively");
160 if (mName == null) throw e; // Can't open a temp database read-only!
170 throw new SQLiteException("Can't upgrade read-only database from version " +
188 if (mIsInitializing) throw new IllegalStateException("Closed during initialization");
  /frameworks/base/graphics/java/android/graphics/
YuvImage.java 82 throw new IllegalArgumentException(
88 throw new IllegalArgumentException(
93 throw new IllegalArgumentException("yuv cannot be null");
126 throw new IllegalArgumentException(
131 throw new IllegalArgumentException("quality must be 0..100");
135 throw new IllegalArgumentException("stream cannot be null");
  /frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
fstream.cpp 54 fstream::~fstream (void) throw()
69 throw file_exception (op, name());
82 throw file_exception ("open", filename);
172 throw stream_bounds_exception ("read", name(), pos(), n, 0);
191 throw stream_bounds_exception ("write", name(), pos() - bw, n, bw);
226 throw file_exception ("stat", name());
  /frameworks/base/services/java/com/android/server/
NativeDaemonConnector.java 154 throw ex;
227 throw new NativeDaemonConnectorException(
246 throw new NativeDaemonConnectorException(
280 throw new NativeDaemonConnectorException(
285 throw new NativeDaemonConnectorException(
289 throw new NativeDaemonConnectorException("Got an empty response");
  /packages/apps/AlarmClock/src/com/android/alarmclock/
AlarmProvider.java 112 throw new IllegalArgumentException("Unknown URL " + url);
137 throw new IllegalArgumentException("Unknown URL");
155 throw new UnsupportedOperationException(
167 throw new IllegalArgumentException("Cannot insert into URL: " + url);
203 throw new SQLException("Failed to insert row into " + url);
231 throw new IllegalArgumentException("Cannot delete from URL: " + url);
  /packages/apps/Mms/src/com/android/mms/model/
MediaModel.java 84 throw new IllegalArgumentException("data may not be null.");
165 throw new DrmException("Insufficient DRM rights.");
174 throw new DrmException(
256 throw new IllegalArgumentException("Uri may not be null.");
271 throw new MmsException(ex);
296 throw new MmsException(e.getMessage());

Completed in 448 milliseconds

<<41424344454647484950>>