/dalvik/libcore/json/src/main/java/org/json/ |
JSONObject.java | 89 * <li>do not throw on {@link #get(String)} 134 throw new NullPointerException(); 158 throw JSON.typeMismatch(object, "JSONObject"); 314 throw new JSONException("Names must be non-null"); 354 throw new JSONException("No value for " + name); 378 throw JSON.typeMismatch(name, object, "boolean"); 412 throw JSON.typeMismatch(name, object, "double"); 446 throw JSON.typeMismatch(name, object, "int"); 480 throw JSON.typeMismatch(name, object, "long"); 513 throw JSON.typeMismatch(name, object, "String") [all...] |
/dalvik/libcore/luni/src/main/java/java/io/ |
BufferedReader.java | 64 * throw an exception. For shorter distances, {@link #reset} shall not throw 119 throw new IllegalArgumentException(Msg.getString("K0058")); //$NON-NLS-1$ 218 throw new IllegalArgumentException(); 222 throw new IOException(Msg.getString("K005b")); //$NON-NLS-1$ 258 throw new IOException(Msg.getString("K005b")); //$NON-NLS-1$ 298 throw new IOException(Msg.getString("K005b")); //$NON-NLS-1$ 301 throw new IndexOutOfBoundsException(); 383 throw new IOException(Msg.getString("K005b")); //$NON-NLS-1$ 476 throw new IOException(Msg.getString("K005b")); //$NON-NLS-1 [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
Date.java | 196 throw new AssertionError(e); // android-changed 383 throw new IllegalArgumentException(Messages.getString("luni.06")); //$NON-NLS-1$ 419 throw new IllegalArgumentException(); 439 throw new IllegalArgumentException(); 447 throw new IllegalArgumentException(); 455 throw new IllegalArgumentException(); 463 throw new IllegalArgumentException(); 476 throw new IllegalArgumentException(); 481 throw new IllegalArgumentException(); 487 throw new IllegalArgumentException() [all...] |
Collections.java | 47 throw new IllegalArgumentException(); 68 throw new IndexOutOfBoundsException(); 89 throw new IndexOutOfBoundsException(); 120 throw new NoSuchElementException(); 124 throw new UnsupportedOperationException(); 276 throw new NoSuchElementException(); 280 throw new UnsupportedOperationException(); 306 throw new IndexOutOfBoundsException(); 380 throw new NoSuchElementException(); 387 throw new UnsupportedOperationException() [all...] |
/dalvik/libcore/luni-kernel/src/main/java/java/lang/ |
Runtime.java | 271 throw new NullPointerException(); 273 throw new IllegalArgumentException(); 406 throw new NullPointerException("library path was null."); 409 throw new UnsatisfiedLinkError( 461 throw new UnsatisfiedLinkError("Library " + libname + " not found"); 631 throw new NullPointerException("Hook may not be null."); 635 throw new IllegalStateException("VM already shutting down"); 639 throw new IllegalArgumentException("Hook has already been started"); 649 throw new IllegalArgumentException("Hook already registered."); 672 throw new NullPointerException("Hook may not be null.") [all...] |
/dalvik/libcore/nio_char/src/test/java/tests/api/java/nio/charset/ |
AbstractCharsetDecoderTestCase.java | 142 fail("should throw null pointer exception"); 169 fail("should throw null pointer exception"); 195 fail("should throw null pointer exception"); 200 fail("should throw null pointer exception"); 205 fail("should throw illegal argument exception"); 231 fail("should throw null pointer exception"); 267 fail("should throw MalformedInputException"); 291 fail("should throw UnmappableCharacterException"); 311 fail("should throw runtime exception"); 337 fail("should throw null pointer exception") [all...] |
/dalvik/libcore/luni/src/main/java/java/net/ |
URLConnection.java | 278 throw new UnknownServiceException(); 442 throw new IllegalStateException(Msg.getString("K0037")); //$NON-NLS-1$ 463 throw new IllegalStateException(Msg.getString("K0037")); //$NON-NLS-1$ 466 throw new NullPointerException(Msg.getString("KA007")); //$NON-NLS-1$ 562 throw new UnknownServiceException(Msg.getString("K004d")); //$NON-NLS-1$ 588 throw new UnknownServiceException(Msg.getString("K005f")); //$NON-NLS-1$ 621 throw new IllegalStateException(Msg.getString("K0037")); //$NON-NLS-1$ 785 throw new IllegalStateException(Msg.getString("K0037")); //$NON-NLS-1$ 804 throw new Error(Msg.getString("K004e")); //$NON-NLS-1$ 856 // throw new IllegalAccessError(Msg.getString("K0037")); //$NON-NLS-1 [all...] |
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLSocketImpl.java | 302 throw new SSLHandshakeException("SSL Session may not be created"); 359 throw new SSLException("Server sends no certificate"); 371 throw new SSLException("Not trusted server certificate", e); 438 throw new AlertException(AlertProtocol.BAD_CERTIFICATE, 490 throw new UnsupportedOperationException( 498 throw new UnsupportedOperationException( 619 throw new IllegalArgumentException("Provided listener is null"); 634 throw new IllegalArgumentException("Provided listener is null"); 637 throw new IllegalArgumentException( 641 throw new IllegalArgumentException [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserProvider.java | 653 throw new UnsupportedOperationException(); 658 throw new UnsupportedOperationException(); 663 throw new UnsupportedOperationException(); 671 throw new UnsupportedOperationException(); 676 throw new UnsupportedOperationException(); 681 throw new UnsupportedOperationException(); 793 throw new UnsupportedOperationException(); 796 throw new UnsupportedOperationException(); 802 throw new UnsupportedOperationException(); 805 throw new UnsupportedOperationException() [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
LocalVariableList.java | 124 throw new NullPointerException("item == null"); 238 throw new IllegalArgumentException("startPc < 0"); 242 throw new IllegalArgumentException("length < 0"); 246 throw new NullPointerException("name == null"); 250 throw new NullPointerException( 255 throw new IllegalArgumentException("index < 0");
|
/dalvik/dx/src/com/android/dx/ssa/back/ |
SsaToRop.java | 142 * blocks containing the real return or throw statements must be 271 throw new RuntimeException( 280 * end in a RETURN or a THROW. Throws a runtime exception on error. 291 && opcode != Rops.THROW) { 292 throw new RuntimeException("Exit predecessor must end" 315 throw new RuntimeException(
|
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
CopyOnWriteArrayList.java | 41 * guaranteed not to throw <tt>ConcurrentModificationException</tt>. 45 * <tt>add</tt>) are not supported. These methods throw 272 throw new InternalError(); 426 throw new IndexOutOfBoundsException("Index: "+index+ 543 throw new IndexOutOfBoundsException(); 794 throw new IndexOutOfBoundsException("Index: "+index+ [all...] |
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/atomic/ |
AtomicReferenceFieldUpdater.java | 189 throw new RuntimeException(ex); 193 throw new ClassCastException(); 196 throw new IllegalArgumentException("Must be volatile type"); 210 throw new ClassCastException(); 218 throw new ClassCastException(); 258 throw new RuntimeException (
|
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/charset/ |
CharsetDecoderICU.java | 90 throw ErrorCode.getException(ec); 106 throw new IllegalArgumentException(); 113 throw ErrorCode.getException(ec); 136 throw ErrorCode.getException(ec); 157 throw ErrorCode.getException(ec); 182 /* If we don't have room for the output, throw an exception*/
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
ReaderTest.java | 55 fail("Should throw NullPointerException"); 177 fail("Should throw IOException for Reader do not support mark"); 276 fail("Should throw IOException"); 306 // try to skip a negative number of characters throw IllegalArgumentException 309 fail("Should throw IllegalArgumentException"); 364 throw new IndexOutOfBoundsException();
|
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
AbstractSequentialListTest.java | 84 throw new UnsupportedOperationException(); 115 throw new UnsupportedOperationException(); 122 if (o.equals(wrongElement)) throw new IllegalArgumentException(); 123 if (o == null) throw new NullPointerException(); 590 if (o == null) throw new NullPointerException(); 591 if (o.equals(illegalStr)) throw new IllegalArgumentException();
|
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
SelectorImpl.java | 147 // TODO: throw assertion error once IPv6+loopback is fixed 178 throw new IllegalSelectorException(); 204 throw new ClosedSelectorException(); 222 throw new IllegalArgumentException(); 444 throw new UnsupportedOperationException(); 448 throw new UnsupportedOperationException();
|
/dalvik/libcore/security/src/main/java/java/security/ |
SecureRandom.java | 79 throw new RuntimeException(e); 150 throw new NullPointerException(Messages.getString("security.01")); //$NON-NLS-1$ 178 throw new IllegalArgumentException( 183 throw new NoSuchProviderException(Messages.getString("security.03", provider)); //$NON-NLS-1$ 206 throw new IllegalArgumentException(Messages.getString("security.04")); //$NON-NLS-1$ 209 throw new NullPointerException(Messages.getString("security.01")); //$NON-NLS-1$
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
BrokenPBE.java | 73 throw new IllegalArgumentException("Digest " + digest.getAlgorithmName() + " unsupported"); 307 throw new IllegalStateException("PKCS5 scheme 1 only supports only MD5 and SHA1."); 330 throw new IllegalStateException("unknown digest scheme for PBE encryption."); 349 throw new IllegalStateException("unknown digest scheme for PBE encryption."); 371 throw new IllegalArgumentException("Need a PBEParameter spec with a PBE key."); 428 throw new IllegalArgumentException("Need a PBEParameter spec with a PBE key.");
|
/dalvik/libcore/xml/src/main/java/javax/xml/datatype/ |
FactoryFinder.java | 163 throw new ConfigurationError( 166 throw new ConfigurationError( 236 throw new ConfigurationError( 380 // The VM ran out of memory or there was some other serious problem. Re-throw. 382 throw vme; 386 throw td;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
MatrixPaletteRenderer.java | 91 throw new IllegalArgumentException("w"); 94 throw new IllegalArgumentException("h"); 97 throw new IllegalArgumentException("w * h >= 65536"); 155 throw new IllegalArgumentException("i"); 158 throw new IllegalArgumentException("j"); 162 throw new IllegalArgumentException("Weights must add up to 1.0f");
|
/external/apache-http/src/org/apache/commons/codec/net/ |
URLCodec.java | 170 throw new DecoderException("Invalid URL encoding"); 174 throw new DecoderException("Invalid URL encoding"); 247 throw new EncoderException(e.getMessage()); 292 throw new DecoderException(e.getMessage()); 314 throw new EncoderException("Objects of type " + 338 throw new DecoderException("Objects of type " +
|
/external/apache-http/src/org/apache/http/conn/ |
EofSensorInputStream.java | 106 throw new IllegalArgumentException 127 throw new IOException("Attempted read on closed stream."); 144 throw ex; 163 throw ex; 182 throw ex; 200 throw ex;
|
/external/apache-http/src/org/apache/http/impl/conn/ |
ProxySelectorRoutePlanner.java | 86 throw new IllegalArgumentException 123 throw new IllegalStateException 137 throw new IllegalStateException 188 throw new HttpException 199 throw new HttpException 255 throw new IllegalArgumentException
|
SingleClientConnManager.java | 118 throw new IllegalArgumentException 173 throw new IllegalStateException("Manager is shut down."); 209 throw new IllegalArgumentException("Route may not be null."); 263 throw new IllegalArgumentException 277 throw new IllegalArgumentException 325 throw new IllegalArgumentException("Time unit must not be null.");
|