Home
last modified time | relevance | path

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

123456789

/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/icu/android_icu4j/src/main/java/android/icu/util/
DUResourceBundleIterator.java13 import java.util.NoSuchElementException;
60 public UResourceBundle next()throws NoSuchElementException{ in next()
64 throw new NoSuchElementException(); in next()
72 public String nextString()throws NoSuchElementException, UResourceTypeMismatchException{ in nextString()
76 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/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/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-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/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()
/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/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/antlr/runtime/ObjC/Framework/test/runtime/misc/
DFastQueueTest.m36 …//RuntimeException *NoSuchElementException = [NoSuchElementException newException:@"No such elemen…
44 @catch (NoSuchElementException *e)
46 …STAssertTrue([[e name] isEqualTo:@"NoSuchElementException"], @"Exception was not type: NoSuchEleme…
49 STFail(@"Exception NoSuchElementException was not thrown -- %@", [retVal name]);
/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/runtime/Java/src/main/java/org/antlr/runtime/misc/
DFastQueue.java32 import java.util.NoSuchElementException;
82 … throw new NoSuchElementException("queue index "+ absIndex +" > last index "+(data.size()-1)); in elementAt()
85 throw new NoSuchElementException("queue index "+ absIndex +" < 0"); in elementAt()
/external/antlr/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/cldr/tools/java/org/unicode/cldr/util/
DDelegatingIterator.java4 import java.util.NoSuchElementException;
31 } catch (NoSuchElementException e) { in next()
35 throw new NoSuchElementException(); in next()

123456789