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

<<61626364656667686970>>

  /dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
AbstractQueueTest.java 27 if (x == null) throw new NullPointerException();
38 if (x == null) throw new NullPointerException();
ExchangerTest.java 142 threadFail("should throw IE");
167 threadFail("should throw TOE");
ExecutorCompletionServiceTest.java 28 * Creating a new ECS with null Executor throw NPE
39 * Creating a new ECS with null queue throw NPE
  /dalvik/libcore/crypto/src/main/java/javax/crypto/spec/
PSource.java 43 throw new NullPointerException(Messages.getString("crypto.42")); //$NON-NLS-1$
88 throw new NullPointerException(Messages.getString("crypto.43")); //$NON-NLS-1$
  /dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/
hc_entitiessetnameditem1.java 47 throw org.w3c.domts.DOMTestIncompatibleException.incompatibleFeature("XML", null);
89 throw ex;
hc_notationssetnameditem1.java 47 throw org.w3c.domts.DOMTestIncompatibleException.incompatibleFeature("XML", null);
89 throw ex;
  /dalvik/libcore/dom/src/test/java/org/w3c/domts/level2/core/
namednodemapremovenameditemns05.java 97 throw ex;
112 throw ex;
  /dalvik/libcore/luni/src/main/java/java/lang/
Appendable.java 32 * can choose to throw exceptions other than {@code IOException} or they do not
33 * throw any exceptions at all and use error codes instead.
  /dalvik/libcore/luni/src/main/java/java/net/
HttpURLConnection.java 429 throw new ProtocolException(Msg.getString("K0037")); //$NON-NLS-1$
439 // if none matches, then throw ProtocolException
440 throw new ProtocolException();
505 throw new IllegalStateException(Msg.getString("K0079")); //$NON-NLS-1$
508 throw new IllegalStateException(Msg.getString("KA003")); //$NON-NLS-1$
511 throw new IllegalArgumentException(Msg.getString("K0051")); //$NON-NLS-1$
530 throw new IllegalStateException(Msg.getString("K0079")); //$NON-NLS-1$
533 throw new IllegalStateException(Msg.getString("KA003")); //$NON-NLS-1$
SocketPermission.java 129 throw new NullPointerException();
132 throw new IllegalArgumentException();
235 throw new IllegalArgumentException(Msg.getString("K0048", //$NON-NLS-1$
342 throw new IllegalArgumentException(Msg.getString("K0049", port)); //$NON-NLS-1$
346 throw new IllegalArgumentException(Msg.getString("K004a", port)); //$NON-NLS-1$
454 throw new IllegalArgumentException(Msg.getString("K004a", host));
461 throw new IllegalArgumentException(Msg.getString("K004a", host));
468 throw new IllegalArgumentException(Msg.getString("K004a", host));
SocketPermissionCollection.java 45 throw new IllegalStateException();
48 throw new IllegalArgumentException(permission.toString());
  /dalvik/libcore/luni/src/main/java/java/util/
ListResourceBundle.java 117 throw new NullPointerException();
128 throw new NullPointerException();
Stack.java 58 throw new EmptyStackException();
74 throw new EmptyStackException();
  /dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/
HttpConfiguration.java 62 throw new IllegalArgumentException(Msg.getString(
83 throw new IllegalArgumentException(Msg.getString(
  /dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/
Handler.java 71 throw new NullPointerException(Msg.getString("K01b6")); //$NON-NLS-1$
88 throw new NullPointerException(e.toString());
  /dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/
ImplForVariable.java 104 throw new RuntimeException("unknown GenericDeclaration2: "
118 // throw exception: illegal
  /dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/
GenericIPMreq.java 56 throw new AssertionError(e);
90 throw new AssertionError(ex);
  /dalvik/libcore/luni/src/test/java/java/text/
NormalizerTest.java 45 fail("Did not throw error on null argument");
80 fail("Did not throw NullPointerException on null argument");
  /dalvik/libcore/luni/src/test/java/junit/textui/
TestRunner.java 168 throw new Exception("Usage: TestRunner [-wait] testCaseName, where name is the name of the TestCase class");
175 throw new Exception("Could not create and run test suite: "+e);
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
ContentHandlerFactoryTest.java 70 throw new RuntimeException(e);
79 throw new RuntimeException(e);
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
UnknownFormatConversionExceptionTest.java 45 // RI 5.0 will not throw NullPointerException, it is the bug according
50 fail("should not throw NullPointerExcepiton");
  /dalvik/libcore/nio/src/main/java/java/nio/
MappedByteBuffer.java 47 throw new IllegalArgumentException();
65 throw new IllegalArgumentException();
  /dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/
PipeImpl.java 53 throw ioe;
56 throw e;
  /dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/
DirectIntBufferTest.java 84 fail("Should throw UnsupportedOperationException"); //$NON-NLS-1$
98 fail("Should throw UnsupportedOperationException"); //$NON-NLS-1$
  /dalvik/libcore/nio_char/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/
ASCIICharsetEncoderTest.java 324 fail("Should throw IllegalStateException");
339 fail("Should throw IllegalStateException");
400 fail("Should throw IllegalStateException");
441 fail("Should throw IllegalStateException");
465 fail("Should throw IllegalStateException");
582 fail("Should throw IllegalStateException");
595 fail("Should throw IllegalStateException");
606 fail("Should throw IllegalStateException");

Completed in 613 milliseconds

<<61626364656667686970>>