- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 322 for UnsupportedOperationException (0.12 sec)
-
impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributePointer.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 2.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
static final PermittedMetaException UOE_OR_ISE = new PermittedMetaException("UnsupportedOperationException or IllegalStateException") { @Override boolean isPermitted(Exception exception) { return exception instanceof UnsupportedOperationException || exception instanceof IllegalStateException; } };Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
Set<String> presentAsSet = Optional.of("a").asSet(); assertThrows(UnsupportedOperationException.class, () -> presentAsSet.add("b")); } public void testAsSet_absentIsImmutable() { Set<Object> absentAsSet = Optional.absent().asSet(); assertThrows(UnsupportedOperationException.class, () -> absentAsSet.add("foo")); } public void testTransform_absent() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/DialectVersionTest.java
} @Test @DisplayName("Should have correct dialect codes for SMB2+ versions") void testDialectCodes() { // SMB1 should throw UnsupportedOperationException assertThrows(UnsupportedOperationException.class, () -> { DialectVersion.SMB1.getDialect(); }); // SMB2+ versions should have valid dialect codesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java
.put(TimeoutException.class, e -> e instanceof TimeoutException) .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException) .put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException) .put(VerifyException.class, e -> e instanceof VerifyException) .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions()) .buildOrThrow();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
Iterable<String> iterable = MinimalIterable.from(singleton("a")); Iterator<String> iterator = iterable.iterator(); assertTrue(iterator.hasNext()); assertEquals("a", iterator.next()); assertThrows(UnsupportedOperationException.class, () -> iterator.remove()); assertFalse(iterator.hasNext()); assertThrows(NoSuchElementException.class, () -> iterator.next()); assertThrows(IllegalStateException.class, () -> iterable.iterator()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ElementOrder.java
return type; } /** * Returns the {@link Comparator} used. * * @throws UnsupportedOperationException if comparator is not defined */ public Comparator<T> comparator() { if (comparator != null) { return comparator; } throw new UnsupportedOperationException("This ordering does not define a comparator."); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 6.6K bytes - Viewed (0) -
guava/src/com/google/common/graph/ElementOrder.java
return type; } /** * Returns the {@link Comparator} used. * * @throws UnsupportedOperationException if comparator is not defined */ public Comparator<T> comparator() { if (comparator != null) { return comparator; } throw new UnsupportedOperationException("This ordering does not define a comparator."); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java
AbstractImmutableBiMapMapInterfaceTest() { super(false, false, false, false, false); } @Override protected Map<K, V> makeEmptyMap() { throw new UnsupportedOperationException(); } private static final Joiner JOINER = Joiner.on(", "); @Override protected final void assertMoreInvariants(Map<K, V> map) { BiMap<K, V> bimap = (BiMap<K, V>) map;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2K bytes - Viewed (0)