- Sort Score
- Num 10 results
- Language All
Results 141 - 145 of 145 for ClassCastException (0.59 seconds)
-
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
* undocumented and subject to change. * * <p>This method is not type-safe, as it may be called on a map with keys that are not mutually * comparable. * * @throws ClassCastException if the keys in {@code map} are not mutually comparable * @throws NullPointerException if any key or value in {@code map} is nullCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 54.7K bytes - Click Count (0) -
src/test/java/jcifs/SIDTest.java
SID sid = new SID(adminSidString); SID unwrapped = sid.unwrap(SID.class); assertNotNull(unwrapped); assertEquals(sid, unwrapped); assertThrows(ClassCastException.class, () -> sid.unwrap(String.class)); } /** * Test the resolve method. * * @throws IOException if an I/O error occurs */ @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.5K bytes - Click Count (0) -
docs/changelogs/changelog_3x.md
_2017-11-18_ * New: Recover gracefully when Android's DNS crashes with an unexpected `NullPointerException`. * New: Recover gracefully when Android's socket connections crash with an unexpected `ClassCastException`. * Fix: Don't include the URL's fragment in `encodedQuery()` when the query itself is empty. ## Version 3.9.0 _2017-09-03_
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
} @Override public <T extends SmbPipeHandle> T unwrap(Class<T> type) { return null; } } assertThrows(ClassCastException.class, () -> { OtherPipeHandle result = handle.unwrap(OtherPipeHandle.class); }); } @Test @DisplayName("getPipeType and getPipe delegate to SmbNamedPipe")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
return Iterators.asEnumeration( Arrays.<Object>asList(Integer.valueOf(123), "first").iterator()); } }; assertThrows(ClassCastException.class, () -> Maps.fromProperties(properties)); } public void testAsConverter_nominal() throws Exception { ImmutableBiMap<String, Integer> biMap = ImmutableBiMap.of( "one", 1,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0)