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

1 2 3 4 5 6 7

  /libcore/luni/src/main/java/java/util/
NoSuchElementException.java 25 public class NoSuchElementException extends RuntimeException {
30 * Constructs a new {@code NoSuchElementException} with the current stack
33 public NoSuchElementException() {
37 * Constructs a new {@code NoSuchElementException} with the current stack
43 public NoSuchElementException(String detailMessage) {
InputMismatchException.java 28 public class InputMismatchException extends NoSuchElementException implements
AbstractQueue.java 81 * @throws NoSuchElementException if this queue is empty
88 throw new NoSuchElementException();
100 * @throws NoSuchElementException if this queue is empty
107 throw new NoSuchElementException();
AbstractSequentialList.java 55 } catch (NoSuchElementException e) {
75 } catch (NoSuchElementException e) {
  /libcore/luni/src/test/java/tests/api/java/util/
NoSuchElementExceptionTest.java 20 import java.util.NoSuchElementException;
26 * java.util.NoSuchElementException#NoSuchElementException()
29 // Test for method java.util.NoSuchElementException()
31 assertNotNull(new NoSuchElementException());
36 fail("NoSuchElementException expected");
37 } catch (NoSuchElementException e) {
43 * java.util.NoSuchElementException#NoSuchElementException(java.lang.String)
46 // Test for method java.util.NoSuchElementException(java.lang.String
    [all...]
StringTokenizerTest.java 20 import java.util.NoSuchElementException;
145 "nextElement failed to throw a NoSuchElementException when it should have been out of elements");
146 } catch (NoSuchElementException e) {
171 "nextToken failed to throw a NoSuchElementException when it should have been out of elements");
172 } catch (NoSuchElementException e) {
199 fail("NoSuchElementException expected");
200 } catch (NoSuchElementException e) {
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
NoSuchElementExceptionTest.java 20 import java.util.NoSuchElementException;
26 * @tests java.util.NoSuchElementException#NoSuchElementException()
29 // Test for method java.util.NoSuchElementException()
34 } catch (NoSuchElementException e) {
42 * @tests java.util.NoSuchElementException#NoSuchElementException(java.lang.String)
45 // Test for method java.util.NoSuchElementException(java.lang.String)
50 } catch (NoSuchElementException e) {
InputMismatchExceptionTest.java 20 import java.util.NoSuchElementException;
37 assertTrue(exception instanceof NoSuchElementException);
AbstractQueueTest.java 23 import java.util.NoSuchElementException;
50 throw new NoSuchElementException();
248 fail("should throw NoSuchElementException");
249 } catch (NoSuchElementException e) {
267 fail("should throw NoSuchElementException");
268 } catch (NoSuchElementException e) {
279 fail("should throw NoSuchElementException");
280 } catch (NoSuchElementException e) {
  /external/apache-harmony/security/src/test/support/common/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/libcore/java/util/
CollectionsTest.java 24 import java.util.NoSuchElementException;
36 } catch (NoSuchElementException expected) {
55 } catch (NoSuchElementException expected) {
78 } catch (NoSuchElementException expected) {
84 } catch (NoSuchElementException expected) {
OldListIteratorTest.java 23 import java.util.NoSuchElementException;
51 fail("NoSuchElementException expected");
52 } catch (NoSuchElementException e) {
139 fail("NoSuchElementException expected");
140 } catch (NoSuchElementException e) {
153 fail("NoSuchElementException expected");
154 } catch (NoSuchElementException e) {
  /external/javassist/src/main/javassist/bytecode/analysis/
IntQueue.java 17 import java.util.NoSuchElementException;
47 throw new NoSuchElementException();
  /external/antlr/src/org/antlr/runtime/misc/
FastQueue.java 32 import java.util.NoSuchElementException;
81 throw new NoSuchElementException("queue index "+ absIndex +" > last index "+(data.size()-1));
84 throw new NoSuchElementException("queue index "+ absIndex +" < 0");
LookaheadStream.java 32 import java.util.NoSuchElementException;
159 throw new NoSuchElementException("can't look backwards more than one token in this stream");
  /packages/apps/Email/emailcommon/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");
  /external/antlr/src/org/antlr/runtime/
UnbufferedTokenStream.java 33 import java.util.NoSuchElementException;

Completed in 1281 milliseconds

1 2 3 4 5 6 7