Searched refs:NoSuchElementException (Results 1 - 25 of 149) sorted by relevance

123456

/external/guava/guava/src/com/google/common/collect/
H A DDiscreteDomain.java22 import java.util.NoSuchElementException;
89 * <p>The default implementation throws {@code NoSuchElementException}.
92 * @throws NoSuchElementException if the type has no (practical) minimum
96 throw new NoSuchElementException();
104 * <p>The default implementation throws {@code NoSuchElementException}.
107 * @throws NoSuchElementException if the type has no (practical) maximum
111 throw new NoSuchElementException();
H A DAbstractIndexedListIterator.java24 import java.util.NoSuchElementException;
48 * first element (or throw {@link NoSuchElementException} if {@code size} is
82 throw new NoSuchElementException();
100 throw new NoSuchElementException();
H A DAbstractIterator.java23 import java.util.NoSuchElementException;
154 throw new NoSuchElementException();
169 throw new NoSuchElementException();
H A DForwardingQueue.java22 import java.util.NoSuchElementException;
104 } catch (NoSuchElementException caught) {
119 } catch (NoSuchElementException caught) {
H A DAbstractLinkedIterator.java22 import java.util.NoSuchElementException;
73 throw new NoSuchElementException();
H A DPeekingIterator.java22 import java.util.NoSuchElementException;
39 * @throws NoSuchElementException if the iteration has no more elements
H A DEmptyContiguousSet.java20 import java.util.NoSuchElementException;
38 throw new NoSuchElementException();
42 throw new NoSuchElementException();
54 throw new NoSuchElementException();
58 throw new NoSuchElementException();
H A DEmptyImmutableSortedSet.java23 import java.util.NoSuchElementException;
96 throw new NoSuchElementException();
101 throw new NoSuchElementException();
/external/smack/src/org/jivesoftware/smack/util/collections/
H A DAbstractEmptyIterator.java19 import java.util.NoSuchElementException;
42 throw new NoSuchElementException("Iterator contains no elements");
50 throw new NoSuchElementException("Iterator contains no elements");
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DMyPermissionCollection.java23 import java.util.NoSuchElementException;
46 throw new NoSuchElementException();
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DEmptyContiguousSet.java18 import java.util.NoSuchElementException;
36 throw new NoSuchElementException();
40 throw new NoSuchElementException();
52 throw new NoSuchElementException();
56 throw new NoSuchElementException();
/external/nist-sip/java/gov/nist/javax/sip/message/
H A DHeaderIterator.java30 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/smali/util/src/main/java/org/jf/util/
H A DAbstractForwardSequentialList.java39 import java.util.NoSuchElementException;
45 throw new NoSuchElementException();
62 } catch (NoSuchElementException ex) {
76 throw new NoSuchElementException();
105 throw new NoSuchElementException();
/external/guava/guava-tests/test/com/google/common/collect/
H A DUnmodifiableIteratorTest.java24 import java.util.NoSuchElementException;
46 throw new NoSuchElementException();
H A DAbstractIteratorTest.java24 import java.util.NoSuchElementException;
74 } catch (NoSuchElementException expected) {
111 fail("peek() should throw NoSuchElementException at end");
112 } catch (NoSuchElementException expected) {
117 fail("peek() should continue to throw NoSuchElementException at end");
118 } catch (NoSuchElementException expected) {
123 fail("next() should throw NoSuchElementException as usual");
124 } catch (NoSuchElementException expected) {
129 fail("peek() should still throw NoSuchElementException after next()");
130 } catch (NoSuchElementException expecte
[all...]
H A DUnmodifiableListIteratorTest.java25 import java.util.NoSuchElementException;
83 throw new NoSuchElementException();
95 throw new NoSuchElementException();
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
H A DFixedSizeSet.java37 import java.util.NoSuchElementException;
54 throw new NoSuchElementException();
H A DVariableSizeIterator.java39 import java.util.NoSuchElementException;
78 throw new NoSuchElementException();
H A DVariableSizeLookaheadIterator.java40 import java.util.NoSuchElementException;
68 throw new NoSuchElementException();
/external/apache-http/src/org/apache/http/message/
H A DBasicHeaderIterator.java35 import java.util.NoSuchElementException;
144 * @throws NoSuchElementException if there are no more headers
147 throws NoSuchElementException {
151 throw new NoSuchElementException("Iteration already finished.");
166 * @throws NoSuchElementException if there are no more headers
169 throws NoSuchElementException {
H A DBasicListHeaderIterator.java36 import java.util.NoSuchElementException;
157 * @throws NoSuchElementException if there are no more headers
160 throws NoSuchElementException {
164 throw new NoSuchElementException("Iteration already finished.");
180 * @throws NoSuchElementException if there are no more headers
183 throws NoSuchElementException {
/external/guava/guava/src/com/google/common/base/
H A DAbstractIterator.java24 import java.util.NoSuchElementException;
75 throw new NoSuchElementException();
/external/javassist/src/main/javassist/bytecode/analysis/
H A DIntQueue.java17 import java.util.NoSuchElementException;
47 throw new NoSuchElementException();
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
H A DFastQueue.java32 import java.util.NoSuchElementException;
81 throw new NoSuchElementException("queue index "+ absIndex +" > last index "+(data.size()-1));
84 throw new NoSuchElementException("queue index "+ absIndex +" < 0");
/external/smali/util/src/test/java/org/jf/util/
H A DAbstractForwardSequentialListTest.java42 import java.util.NoSuchElementException;
60 throw new NoSuchElementException();
171 // note: no "expected = NoSuchElementException", because we want to make sure the exception occurs only during
180 } catch (NoSuchElementException ex) {
186 @Test(expected = NoSuchElementException.class)
194 // note: no "expected = NoSuchElementException", because we want to make sure the exception occurs only during
203 } catch (NoSuchElementException ex) {
209 @Test(expected = NoSuchElementException.class)

Completed in 534 milliseconds

123456