- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 460 for throwing (0.23 sec)
-
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
try { if (state() != State.STOPPING) { // This means that the state has changed since we were scheduled. This implies // that an execution of runOneIteration has thrown an exception and we have // transitioned to a failed state, also this means that shutDown has already // been called, so we do not want to call it again. return;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
/** * Returns a representation of {@code a} as an instance of type {@code B}. If {@code a} cannot be * converted, an unchecked exception (such as {@link IllegalArgumentException}) should be thrown. * * @param a the instance to convert; will never be null * @return the converted instance; <b>must not</b> be null */ @ForOverride protected abstract B doForward(A a); /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 21:43:06 UTC 2025 - 22.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
try { if (state() != State.STOPPING) { // This means that the state has changed since we were scheduled. This implies // that an execution of runOneIteration has thrown an exception and we have // transitioned to a failed state, also this means that shutDown has already // been called, so we do not want to call it again. return;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
// we need to catch it to verify that pipe.close() was still called try { handle.close(); fail("Expected IOException to be thrown"); } catch (IOException e) { assertEquals("Handle close failed", e.getMessage()); } verify(mockSmbPipeHandleInternal).close();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
} // Wait for all threads to complete for (Thread thread : threads) { thread.join(); } // Then - no exceptions should have been thrown assertTrue(true); // If we reach here, no exceptions occurred } /** * Test consistency across multiple calls */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
void testMethodsWithNullBuffers() { netShareEnum = new NetShareEnum(realConfig); // Write methods return 0 when buffer is null (no NullPointerException thrown) assertEquals(0, netShareEnum.writeSetupWireFormat(null, 0)); assertThrows(NullPointerException.class, () -> { netShareEnum.writeParametersWireFormat(null, 0); });
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
* <li>Setting {@code maven.consumer.pom.flatten=true} removes them during transformation</li> * <li>Otherwise, an exception is thrown requiring one of the above options or manual mixin removal</li> * </ul> * <p> * <b>Dependency Filtering</b>: For non-POM projects with dependency management, the builder: * <ul>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 27 07:40:26 UTC 2025 - 21.2K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* are incremented, and the total loading time, in nanoseconds, is added to {@code * totalLoadTime}. * <li>When an exception is thrown while loading an entry, {@code missCount} and {@code * loadExceptionCount} are incremented, and the total loading time, in nanoseconds, is * added to {@code totalLoadTime}.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheStats.java
* are incremented, and the total loading time, in nanoseconds, is added to {@code * totalLoadTime}. * <li>When an exception is thrown while loading an entry, {@code missCount} and {@code * loadExceptionCount} are incremented, and the total loading time, in nanoseconds, is * added to {@code totalLoadTime}.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
wagon.removeTransferListener(sha1ChecksumObserver); } if (downloaded) { // keep the checksum files from showing up on the download monitor... if (downloadMonitor != null) { wagon.removeTransferListener(downloadMonitor); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 29.9K bytes - Viewed (0)