Home
last modified time | relevance | path

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

12345

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DNoSuchElementExceptionTest.java20 import java.util.NoSuchElementException;
31 assertNotNull(new NoSuchElementException()); in test_Constructor()
37 } catch (NoSuchElementException e) { in test_Constructor()
48 assertNotNull(new NoSuchElementException("String")); in test_ConstructorLjava_lang_String()
49 assertNotNull(new NoSuchElementException(null)); in test_ConstructorLjava_lang_String()
55 } catch (NoSuchElementException e) { in test_ConstructorLjava_lang_String()
DAbstractQueueTest.java24 import java.util.NoSuchElementException;
52 throw new NoSuchElementException(); in iterator()
265 } catch (NoSuchElementException e) { in test_remove_null()
284 } catch (NoSuchElementException e) { in test_remove()
296 } catch (NoSuchElementException e) { in test_element_empty()
DInputMismatchExceptionTest.java20 import java.util.NoSuchElementException;
37 assertTrue(exception instanceof NoSuchElementException); in test_Constructor()
DStringTokenizerTest.java20 import java.util.NoSuchElementException;
146 } catch (NoSuchElementException e) { in test_nextElement()
172 } catch (NoSuchElementException e) { in test_nextToken()
200 } catch (NoSuchElementException e) { in test_nextTokenLjava_lang_String()
DRefSortedMap.java32 import java.util.NoSuchElementException;
131 throw new NoSuchElementException(); in entrySet()
156 } catch (NoSuchElementException e) { in entrySet()
174 throw new NoSuchElementException();
183 throw new NoSuchElementException();
199 throw new NoSuchElementException();
206 throw new NoSuchElementException();
DHashtableTest.java31 import java.util.NoSuchElementException;
247 } catch (NoSuchElementException e) { in test_elements()
436 } catch (NoSuchElementException e) { in test_keys()
455 } catch (NoSuchElementException e) { in test_keys_subtest0()
545 } catch (NoSuchElementException e) { in test_keySet_subtest0()
867 } catch (NoSuchElementException e) { in test_keys_elements_keySet_Exceptions()
880 } catch (NoSuchElementException e) { in test_keys_elements_keySet_Exceptions()
893 } catch (NoSuchElementException e) { in test_keys_elements_keySet_Exceptions()
/libcore/ojluni/src/main/java/java/util/
DAbstractSequentialList.java89 } catch (NoSuchElementException exc) { in get()
119 } catch (NoSuchElementException exc) { in set()
147 } catch (NoSuchElementException exc) { in add()
175 } catch (NoSuchElementException exc) { in remove()
222 } catch (NoSuchElementException exc) { in addAll()
DNoSuchElementException.java38 class NoSuchElementException extends RuntimeException { class
45 public NoSuchElementException() { in NoSuchElementException() method in NoSuchElementException
56 public NoSuchElementException(String s) { in NoSuchElementException() method in NoSuchElementException
DAbstractQueue.java117 throw new NoSuchElementException(); in remove()
136 throw new NoSuchElementException(); in element()
DInputMismatchException.java38 class InputMismatchException extends NoSuchElementException {
DArrayDeque.java270 throw new NoSuchElementException(); in removeFirst()
280 throw new NoSuchElementException(); in removeLast()
316 throw new NoSuchElementException(); in getFirst()
327 throw new NoSuchElementException(); in getLast()
625 throw new NoSuchElementException(); in next()
682 throw new NoSuchElementException(); in next()
/libcore/ojluni/src/main/java/sun/misc/
DCompoundEnumeration.java29 import java.util.NoSuchElementException;
59 throw new NoSuchElementException(); in nextElement()
/libcore/ojluni/src/main/java/java/lang/
DCharSequence.java28 import java.util.NoSuchElementException;
142 throw new NoSuchElementException(); in chars()
213 throw new NoSuchElementException(); in codePoints()
/libcore/luni/src/test/java/libcore/java/util/
DOldListIteratorTest.java23 import java.util.NoSuchElementException;
52 } catch (NoSuchElementException e) { in testNext()
140 } catch (NoSuchElementException e) { in testPrevious()
154 } catch (NoSuchElementException e) { in testPrevious()
DOptionalIntTest.java22 import java.util.NoSuchElementException;
40 } catch (NoSuchElementException nsee) { in testGet()
DOptionalLongTest.java22 import java.util.NoSuchElementException;
40 } catch (NoSuchElementException nsee) { in testGet()
DOldTreeSetTest.java24 import java.util.NoSuchElementException;
129 } catch (NoSuchElementException e) { in test_first()
174 } catch (NoSuchElementException e) { in test_last()
DOptionalDoubleTest.java22 import java.util.NoSuchElementException;
42 } catch (NoSuchElementException nsee) { in testGet()
/libcore/ojluni/src/main/java/sun/util/
DResourceBundleEnumeration.java30 import java.util.NoSuchElementException;
79 throw new NoSuchElementException(); in nextElement()
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueueTest.java14 import java.util.NoSuchElementException;
98 } catch (NoSuchElementException success) {} in testRemoveF()
117 } catch (NoSuchElementException success) {} in testElementF()
DLinkedListTest.java15 import java.util.NoSuchElementException;
224 } catch (NoSuchElementException success) {} in testElement()
238 } catch (NoSuchElementException success) {} in testRemove()
452 } catch (NoSuchElementException success) {} in testDescendingIterator()
528 } catch (NoSuchElementException success) {} in testPop()
597 } catch (NoSuchElementException success) {} in testFirstElement()
612 } catch (NoSuchElementException success) {} in testLastElement()
DConcurrentLinkedDequeTest.java15 import java.util.NoSuchElementException;
163 } catch (NoSuchElementException success) {} in testPop()
420 } catch (NoSuchElementException success) {} in testElement()
434 } catch (NoSuchElementException success) {} in testRemove()
498 } catch (NoSuchElementException success) {} in testFirstElement()
513 } catch (NoSuchElementException success) {} in testLastElement()
528 } catch (NoSuchElementException success) {} in testRemoveFirst()
543 } catch (NoSuchElementException success) {} in testRemoveLast()
796 } catch (NoSuchElementException success) {} in testDescendingIterator()
/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractPath.java32 import java.util.NoSuchElementException;
84 throw new NoSuchElementException(); in iterator()
DUnixDirectoryStream.java30 import java.util.NoSuchElementException;
227 throw new NoSuchElementException(); in next()
/libcore/ojluni/src/main/java/java/nio/file/
DFileTreeIterator.java33 import java.util.NoSuchElementException;
114 throw new NoSuchElementException(); in next()

12345