/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | NoSuchElementExceptionTest.java | 20 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((String)null)); in test_ConstructorLjava_lang_String() 55 } catch (NoSuchElementException e) { in test_ConstructorLjava_lang_String() 62 var e = new NoSuchElementException(cause); in test_ConstructorLjava_lang_Throwable() 70 var e = new NoSuchElementException("message", cause); in test_ConstructorLjava_langStringLjava_lang_Throwable()
|
D | AbstractQueueTest.java | 24 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()
|
D | StringTokenizerTest.java | 20 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()
|
D | InputMismatchExceptionTest.java | 20 import java.util.NoSuchElementException; 37 assertTrue(exception instanceof NoSuchElementException); in test_Constructor()
|
D | RefSortedMap.java | 32 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();
|
/libcore/ojluni/src/main/java/java/util/ |
D | NoSuchElementException.java | 36 public class NoSuchElementException extends RuntimeException { class 44 public NoSuchElementException() { in NoSuchElementException() method in NoSuchElementException 57 public NoSuchElementException(String s, Throwable cause) { in NoSuchElementException() method in NoSuchElementException 71 public NoSuchElementException(Throwable cause) { in NoSuchElementException() method in NoSuchElementException 82 public NoSuchElementException(String s) { in NoSuchElementException() method in NoSuchElementException
|
D | AbstractSequentialList.java | 91 } catch (NoSuchElementException exc) { in get() 121 } catch (NoSuchElementException exc) { in set() 149 } catch (NoSuchElementException exc) { in add() 177 } catch (NoSuchElementException exc) { in remove() 223 } catch (NoSuchElementException exc) { in addAll()
|
D | AbstractQueue.java | 117 throw new NoSuchElementException(); in remove() 136 throw new NoSuchElementException(); in element()
|
D | NavigableSet.java | 337 throw new NoSuchElementException(); in removeFirst() 356 throw new NoSuchElementException(); in removeLast()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | CompoundEnumeration.java | 29 import java.util.NoSuchElementException; 59 throw new NoSuchElementException(); in nextElement()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldListIteratorTest.java | 23 import java.util.NoSuchElementException; 52 } catch (NoSuchElementException e) { in testNext() 140 } catch (NoSuchElementException e) { in testPrevious() 154 } catch (NoSuchElementException e) { in testPrevious()
|
D | OptionalLongTest.java | 27 import java.util.NoSuchElementException; 45 } catch (NoSuchElementException nsee) { in testGet() 123 assertThrows(NoSuchElementException.class, () -> OptionalLong.empty().orElseThrow()); in test_orElseThrow_empty()
|
/libcore/ojluni/src/test/java/util/Scanner/ |
D | ScanTest.java | 532 } catch (NoSuchElementException e) { in boundaryDelimTest() 747 } catch (NoSuchElementException nsee) { in ioExceptionTest() 851 } catch (NoSuchElementException nse) { in integerPatternBody() 887 } catch (NoSuchElementException nse) { in floatPatternBody() 893 } catch (NoSuchElementException nse) { in floatPatternBody() 899 } catch (NoSuchElementException nse) { in floatPatternBody() 959 } catch (NoSuchElementException nsee) { in findInLineTest() 1011 } catch (NoSuchElementException ime) { in skipTest() 1023 } catch (NoSuchElementException ime) { in skipTest() 1035 } catch (NoSuchElementException ime) { in skipTest() [all …]
|
/libcore/ojluni/src/main/java/sun/util/ |
D | ResourceBundleEnumeration.java | 30 import java.util.NoSuchElementException; 79 throw new NoSuchElementException(); in nextElement()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | CharSequence.java | 28 import java.util.NoSuchElementException; 160 throw new NoSuchElementException(); in chars() 234 throw new NoSuchElementException(); in codePoints()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | AbstractQueueTest.java | 40 import java.util.NoSuchElementException; 121 } catch (NoSuchElementException success) {} in testRemoveF() 140 } catch (NoSuchElementException success) {} in testElementF()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AbstractQueueTest.java | 14 import java.util.NoSuchElementException; 98 } catch (NoSuchElementException success) {} in testRemoveF() 117 } catch (NoSuchElementException success) {} in testElementF()
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | SingletonIterator.java | 34 import java.util.NoSuchElementException; 49 } catch (NoSuchElementException success) { } in assertIteratorExhausted()
|
D | EnumerationAsIterator.java | 42 import java.util.NoSuchElementException; 144 } catch (NoSuchElementException e) { 164 } catch (NoSuchElementException e) { 188 } catch (NoSuchElementException e) {
|
/libcore/ojluni/src/test/java/util/Collection/ |
D | IteratorAtEnd.java | 44 import java.util.NoSuchElementException; 205 THROWS(NoSuchElementException.class, in test() 226 THROWS(NoSuchElementException.class, it::previous); in test() 241 THROWS(NoSuchElementException.class, it::next); in test()
|
/libcore/ojluni/src/test/java/util/Optional/ |
D | BasicInt.java | 40 import java.util.NoSuchElementException; 70 assertThrows(NoSuchElementException.class, () -> empty.getAsInt()); in checkEmpty() 73 assertThrows(NoSuchElementException.class, () -> OptionalInt_orElseThrow(empty)); in checkEmpty() 188 } catch (NoSuchElementException expected) { in OptionalInt_orElseThrow()
|
D | BasicDouble.java | 40 import java.util.NoSuchElementException; 69 assertThrows(NoSuchElementException.class, () -> empty.getAsDouble()); in checkEmpty() 72 assertThrows(NoSuchElementException.class, () -> OptionalDouble_orElseThrow(empty)); in checkEmpty() 191 } catch (NoSuchElementException expected) { in OptionalDouble_orElseThrow()
|
D | BasicLong.java | 40 import java.util.NoSuchElementException; 69 assertThrows(NoSuchElementException.class, () -> empty.getAsLong()); in checkEmpty() 72 assertThrows(NoSuchElementException.class, () -> OptionalLong_orElseThrow(empty)); in checkEmpty() 190 } catch (NoSuchElementException expected) { in OptionalLong_orElseThrow()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractPath.java | 32 import java.util.NoSuchElementException; 84 throw new NoSuchElementException(); in iterator()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | FileTreeIterator.java | 33 import java.util.NoSuchElementException; 113 throw new NoSuchElementException(); in next()
|