- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 364 for RuntimeException (0.19 sec)
-
guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java
.put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException) .put(RuntimeException.class, e -> e instanceof RuntimeException) .put(TimeoutException.class, e -> e instanceof TimeoutException) .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
session.release(); assertFalse(session.isInUse(), "Session should not be in use after all releases"); // Test multiple releases (should not throw) assertThrows(RuntimeException.class, () -> session.release(), "Additional release should throw RuntimeCIFSException"); } /** * Test tree creation and cleanup */ @Test @Timeout(5)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
// Mock transport.connect() to throw RuntimeException wrapping InterruptedException doThrow(new RuntimeException(new InterruptedException("Interrupted"))).when(transport).connect(); // Should throw exception due to interrupted wait assertThrows(RuntimeException.class, () -> tree.treeConnect(null, null)); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
return !RuntimeException.class.isAssignableFrom(type); } @VisibleForTesting static void checkExceptionClassValidity(Class<? extends Exception> exceptionClass) { checkArgument( isCheckedException(exceptionClass), "Futures.getChecked exception type (%s) must not be a RuntimeException", exceptionClass); checkArgument(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java
.put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException) .put(RuntimeException.class, e -> e instanceof RuntimeException) .put(TimeoutException.class, e -> e instanceof TimeoutException) .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java
.put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException) .put(RuntimeException.class, e -> e instanceof RuntimeException) .put(TimeoutException.class, e -> e instanceof TimeoutException) .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
try { setPrivateField(ctx, "hashAlgos", new int[] { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512 }); } catch (Exception e) { throw new RuntimeException(e); } return ctx; } private NegotiateContextRequest createMockEncryptionContext() { EncryptionNegotiateContext ctx = new EncryptionNegotiateContext(); try {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/SerializableTester.java
* java.io.Serializable} instance, and is thus declared an {@code Object}. For example, it might * be declared as a {@code List}. * * @return the re-serialized object * @throws RuntimeException if the specified object was not successfully serialized or * deserialized */ @CanIgnoreReturnValue public static <T> T reserialize(T object) { return Platform.reserialize(object); } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java
.put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException) .put(RuntimeException.class, e -> e instanceof RuntimeException) .put(TimeoutException.class, e -> e instanceof TimeoutException) .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0)