Home
last modified time | relevance | path

Searched refs:NoSuchElementException (Results 1 – 25 of 197) sorted by relevance

12345678

/external/icu/android_icu4j/src/main/java/android/icu/util/
DUResourceBundleIterator.java13 import java.util.NoSuchElementException;
59 public UResourceBundle next()throws NoSuchElementException{ in next()
63 throw new NoSuchElementException(); in next()
71 public String nextString()throws NoSuchElementException, UResourceTypeMismatchException{ in nextString()
75 throw new NoSuchElementException(); in nextString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUResourceBundleIterator.java12 import java.util.NoSuchElementException;
60 public UResourceBundle next()throws NoSuchElementException{ in next()
64 throw new NoSuchElementException(); in next()
73 public String nextString()throws NoSuchElementException, UResourceTypeMismatchException{ in nextString()
77 throw new NoSuchElementException(); in nextString()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DAbstractIteratorTest.java24 import java.util.NoSuchElementException;
74 } catch (NoSuchElementException expected) { in testDefaultBehaviorOfNextAndHasNext()
112 } catch (NoSuchElementException expected) { in testDefaultBehaviorOfPeek()
118 } catch (NoSuchElementException expected) { in testDefaultBehaviorOfPeek()
124 } catch (NoSuchElementException expected) { in testDefaultBehaviorOfPeek()
130 } catch (NoSuchElementException expected) { in testDefaultBehaviorOfPeek()
150 } catch (NoSuchElementException expected) { in testDefaultBehaviorOfPeekForEmptyIteration()
156 } catch (NoSuchElementException expected) { in testDefaultBehaviorOfPeekForEmptyIteration()
DPeekingIteratorTest.java33 import java.util.NoSuchElementException;
107 } catch (NoSuchElementException e) { /* expected */ } in testPeekOnEmptyList()
140 } catch (NoSuchElementException e) { /* expected */ } in testPeekDoesntChangeIteration()
144 } catch (NoSuchElementException e) { /* expected */ } in testPeekDoesntChangeIteration()
148 } catch (NoSuchElementException e) { /* expected */ } in testPeekDoesntChangeIteration()
/external/nist-sip/java/gov/nist/javax/sip/message/
DHeaderIterator.java30 import java.util.NoSuchElementException;
49 public Object next() throws NoSuchElementException { in next()
51 throw new NoSuchElementException(); in next()
57 public Object previous() throws NoSuchElementException { in previous()
59 throw new NoSuchElementException(); in previous()
/external/guava/guava-tests/test/com/google/common/collect/
DAbstractIteratorTest.java27 import java.util.NoSuchElementException;
77 } catch (NoSuchElementException expected) { in testDefaultBehaviorOfNextAndHasNext()
115 } catch (NoSuchElementException expected) { in testDefaultBehaviorOfPeek()
121 } catch (NoSuchElementException expected) { in testDefaultBehaviorOfPeek()
127 } catch (NoSuchElementException expected) { in testDefaultBehaviorOfPeek()
133 } catch (NoSuchElementException expected) { in testDefaultBehaviorOfPeek()
164 } catch (NoSuchElementException expected) { in testDefaultBehaviorOfPeekForEmptyIteration()
170 } catch (NoSuchElementException expected) { in testDefaultBehaviorOfPeekForEmptyIteration()
DPeekingIteratorTest.java34 import java.util.NoSuchElementException;
117 } catch (NoSuchElementException e) { /* expected */ } in testPeekOnEmptyList()
150 } catch (NoSuchElementException e) { /* expected */ } in testPeekDoesntChangeIteration()
154 } catch (NoSuchElementException e) { /* expected */ } in testPeekDoesntChangeIteration()
158 } catch (NoSuchElementException e) { /* expected */ } in testPeekDoesntChangeIteration()
DUnmodifiableListIteratorTest.java25 import java.util.NoSuchElementException;
83 throw new NoSuchElementException(); in create()
95 throw new NoSuchElementException(); in create()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DEmptyContiguousSet.java18 import java.util.NoSuchElementException;
36 throw new NoSuchElementException(); in first()
40 throw new NoSuchElementException(); in last()
52 throw new NoSuchElementException(); in range()
56 throw new NoSuchElementException(); in range()
/external/smali/util/src/main/java/org/jf/util/
DAbstractForwardSequentialList.java39 import java.util.NoSuchElementException;
45 throw new NoSuchElementException(); in iterator()
62 } catch (NoSuchElementException ex) { in listIterator()
76 throw new NoSuchElementException(); in listIterator()
105 throw new NoSuchElementException(); in listIterator()
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DMinimalIterableTest.java25 import java.util.NoSuchElementException;
42 } catch (NoSuchElementException expected) { in testOf_empty()
60 } catch (NoSuchElementException expected) { in testOf_one()
77 } catch (NoSuchElementException expected) { in testFrom_empty()
101 } catch (NoSuchElementException expected) { in testFrom_one()
/external/apache-http/src/org/apache/http/message/
DBasicHeaderIterator.java35 import java.util.NoSuchElementException;
147 throws NoSuchElementException { in nextHeader()
151 throw new NoSuchElementException("Iteration already finished."); in nextHeader()
169 throws NoSuchElementException { in next()
DBasicListHeaderIterator.java36 import java.util.NoSuchElementException;
160 throws NoSuchElementException { in nextHeader()
164 throw new NoSuchElementException("Iteration already finished."); in nextHeader()
183 throws NoSuchElementException { in next()
DBasicHeaderElementIterator.java34 import java.util.NoSuchElementException;
144 public HeaderElement nextElement() throws NoSuchElementException { in nextElement()
150 throw new NoSuchElementException("No more header elements available"); in nextElement()
158 public final Object next() throws NoSuchElementException { in next()
DBasicTokenIterator.java34 import java.util.NoSuchElementException;
115 throws NoSuchElementException, ParseException { in nextToken()
118 throw new NoSuchElementException("Iteration already finished."); in nextToken()
139 throws NoSuchElementException, ParseException { in next()
/external/guava/guava/src/com/google/common/collect/
DEmptyContiguousSet.java20 import java.util.NoSuchElementException;
38 throw new NoSuchElementException(); in first()
42 throw new NoSuchElementException(); in last()
54 throw new NoSuchElementException(); in range()
58 throw new NoSuchElementException(); in range()
DAbstractIndexedListIterator.java24 import java.util.NoSuchElementException;
82 throw new NoSuchElementException(); in next()
100 throw new NoSuchElementException(); in previous()
DForwardingQueue.java21 import java.util.NoSuchElementException;
103 } catch (NoSuchElementException caught) { in standardPeek()
118 } catch (NoSuchElementException caught) { in standardPoll()
DAbstractIterator.java23 import java.util.NoSuchElementException;
154 throw new NoSuchElementException(); in next()
171 throw new NoSuchElementException(); in peek()
DEmptyImmutableSortedSet.java24 import java.util.NoSuchElementException;
98 throw new NoSuchElementException(); in first()
103 throw new NoSuchElementException(); in last()
/external/smali/util/src/test/java/org/jf/util/
DAbstractForwardSequentialListTest.java42 import java.util.NoSuchElementException;
60 throw new NoSuchElementException(); in setup()
180 } catch (NoSuchElementException ex) { in testForwardIterationException()
186 @Test(expected = NoSuchElementException.class)
203 } catch (NoSuchElementException ex) { in testReverseIterationException()
209 @Test(expected = NoSuchElementException.class)
/external/sfntly/cpp/src/sfntly/port/
Dexception_type.h97 class NoSuchElementException : public Exception {
99 NoSuchElementException() throw() : Exception("No such element") {} in NoSuchElementException() function
100 explicit NoSuchElementException(const char* message) throw() in NoSuchElementException() function
102 virtual ~NoSuchElementException() throw() {} in ~NoSuchElementException()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
DFastQueue.java32 import java.util.NoSuchElementException;
81 … throw new NoSuchElementException("queue index "+ absIndex +" > last index "+(data.size()-1)); in elementAt()
84 throw new NoSuchElementException("queue index "+ absIndex +" < 0"); in elementAt()
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestFastQueue.java33 import java.util.NoSuchElementException;
94 catch (NoSuchElementException nsee) { in testGetFromEmptyQueue()
110 catch (NoSuchElementException nsee) { in testGetFromEmptyQueueAfterSomeAdds()
125 catch (NoSuchElementException nsee) { in testGetFromEmptyQueueAfterClear()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DSortedSetNavigationTester.java29 import java.util.NoSuchElementException;
70 } catch (NoSuchElementException e) { in testEmptySetFirst()
79 } catch (NoSuchElementException e) { in testEmptySetLast()

12345678