HomeSort by relevance Sort by last modified time
    Searched refs:NoSuchElementException (Results 1 - 25 of 132) sorted by null

1 2 3 4 5 6

  /libcore/luni/src/main/java/java/util/
NoSuchElementException.java 22 * A {@code NoSuchElementException} is thrown when trying to retrieve an element
29 public class NoSuchElementException extends RuntimeException {
34 * Constructs a new {@code NoSuchElementException} with the current stack
37 public NoSuchElementException() {
42 * Constructs a new {@code NoSuchElementException} with the current stack
48 public NoSuchElementException(String detailMessage) {
InputMismatchException.java 28 public class InputMismatchException extends NoSuchElementException implements
AbstractQueue.java 91 * @throws NoSuchElementException
97 throw new NoSuchElementException();
106 * @throws NoSuchElementException
112 throw new NoSuchElementException();
AbstractSequentialList.java 56 } catch (NoSuchElementException e) {
76 } catch (NoSuchElementException e) {
  /libcore/luni/src/test/java/tests/api/java/util/
NoSuchElementExceptionTest.java 25 import java.util.NoSuchElementException;
28 @TestTargetClass(NoSuchElementException.class)
32 * @tests java.util.NoSuchElementException#NoSuchElementException()
37 method = "NoSuchElementException",
41 // Test for method java.util.NoSuchElementException()
43 assertNotNull(new NoSuchElementException());
48 fail("NoSuchElementException expected");
49 } catch (NoSuchElementException e) {
55 * @tests java.util.NoSuchElementException#NoSuchElementException(java.lang.String
    [all...]
StringTokenizerTest.java 25 import java.util.NoSuchElementException;
193 "nextElement failed to throw a NoSuchElementException when it should have been out of elements");
194 } catch (NoSuchElementException e) {
225 "nextToken failed to throw a NoSuchElementException when it should have been out of elements");
226 } catch (NoSuchElementException e) {
259 fail("NoSuchElementException expected");
260 } catch (NoSuchElementException e) {
AbstractQueueTest.java 29 import java.util.NoSuchElementException;
58 throw new NoSuchElementException();
341 notes = "Verifies NoSuchElementException.",
348 fail("should throw NoSuchElementException");
349 } catch (NoSuchElementException e) {
360 notes = "Verifies positive functionality, NoSuchElementException.",
373 fail("should throw NoSuchElementException");
374 } catch (NoSuchElementException e) {
384 notes = "Verifies NoSuchElementException.",
391 fail("should throw NoSuchElementException");
    [all...]
  /libcore/luni/src/main/java/java/lang/
EmptyEnumeration.java 22 import java.util.NoSuchElementException;
53 throw new NoSuchElementException();
VMClassLoader.java 24 import java.util.NoSuchElementException;
137 throw new NoSuchElementException();
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MyPermissionCollection.java 23 import java.util.NoSuchElementException;
45 throw new NoSuchElementException();
  /external/nist-sip/java/gov/nist/javax/sip/message/
HeaderIterator.java 30 import java.util.NoSuchElementException;
49 public Object next() throws NoSuchElementException {
51 throw new NoSuchElementException();
57 public Object previous() throws NoSuchElementException {
59 throw new NoSuchElementException();
  /external/guava/src/com/google/common/collect/
AbstractIterator.java 22 import java.util.NoSuchElementException;
146 throw new NoSuchElementException();
161 throw new NoSuchElementException();
PeekingIterator.java 22 import java.util.NoSuchElementException;
39 * @throws NoSuchElementException if the iteration has no more elements
EmptyImmutableSortedSet.java 23 import java.util.NoSuchElementException;
90 throw new NoSuchElementException();
94 throw new NoSuchElementException();
  /external/apache-http/src/org/apache/http/message/
BasicHeaderIterator.java 35 import java.util.NoSuchElementException;
139 * @throws NoSuchElementException if there are no more headers
142 throws NoSuchElementException {
146 throw new NoSuchElementException("Iteration already finished.");
161 * @throws NoSuchElementException if there are no more headers
164 throws NoSuchElementException {
BasicListHeaderIterator.java 36 import java.util.NoSuchElementException;
152 * @throws NoSuchElementException if there are no more headers
155 throws NoSuchElementException {
159 throw new NoSuchElementException("Iteration already finished.");
175 * @throws NoSuchElementException if there are no more headers
178 throws NoSuchElementException {
BasicHeaderElementIterator.java 34 import java.util.NoSuchElementException;
139 public HeaderElement nextElement() throws NoSuchElementException {
145 throw new NoSuchElementException("No more header elements available");
153 public final Object next() throws NoSuchElementException {
BasicTokenIterator.java 34 import java.util.NoSuchElementException;
106 * @throws NoSuchElementException if the iteration is already over
110 throws NoSuchElementException, ParseException {
113 throw new NoSuchElementException("Iteration already finished.");
130 * @throws NoSuchElementException if there are no more tokens
134 throws NoSuchElementException, ParseException {
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
InputMismatchExceptionTest.java 20 import java.util.NoSuchElementException;
37 assertTrue(exception instanceof NoSuchElementException);
  /libcore/luni/src/main/java/java/security/
AllPermissionCollection.java 25 import java.util.NoSuchElementException;
94 throw new NoSuchElementException();
  /packages/apps/Email/src/org/apache/commons/io/
LineIterator.java 23 import java.util.NoSuchElementException;
126 * @throws NoSuchElementException if there is no line to return
136 * @throws NoSuchElementException if there is no line to return
140 throw new NoSuchElementException("No more lines");
  /dalvik/dx/src/com/android/dx/util/
ListIntSet.java 19 import java.util.NoSuchElementException;
120 throw new NoSuchElementException();
BitIntSet.java 19 import java.util.NoSuchElementException;
112 throw new NoSuchElementException();
  /libcore/luni/src/main/java/java/sql/
SQLException.java 22 import java.util.NoSuchElementException;
250 throw new NoSuchElementException();
  /packages/apps/Email/src/org/apache/james/mime4j/decoder/
UnboundedFifoByteBuffer.java 23 import java.util.NoSuchElementException;
232 throw new NoSuchElementException();

Completed in 1343 milliseconds

1 2 3 4 5 6