- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 3,380 for throws (0.3 sec)
-
guava/src/com/google/common/cache/CacheLoader.java
* @throws Exception if unable to load the result * @throws InterruptedException if this method is interrupted. {@code InterruptedException} is * treated like any other {@code Exception} in all respects except that, when it is caught, * the thread's interrupt status is set */ public abstract V load(K key) throws Exception; /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbFileHandleTest.java
* * @throws CIFSException */ @Test void testClose_success() throws CIFSException { smbFileHandle.close(); verify(smbFileHandle, times(1)).close(); } /** * Test close() when a CIFSException is thrown. * * @throws CIFSException */ @Test void testClose_throwsCIFSException() throws CIFSException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
final int throwAfterCount; final RuntimeException thrown; int count; ThrowingRunnable(int throwAfterCount, RuntimeException thrown) { this.throwAfterCount = throwAfterCount; this.thrown = thrown; } @Override public void run() { if (++count >= throwAfterCount) { throw thrown; } } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
*/ private SmbCopyUtil() { } /** * @param dest * @return * @throws SmbException * @throws SmbAuthException */ static SmbFileHandleImpl openCopyTargetFile(final SmbFile dest, final int attrs, final boolean alsoRead) throws CIFSException { try { return dest.openUnshared(SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloserTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
void testGetTransportContext() throws Exception { DcerpcPipeHandle handle = createMockedDcerpcPipeHandle(); assertEquals(mockContext, handle.getTransportContext()); } @Test @DisplayName("Should return correct server name") void testGetServer() throws Exception { DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
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/util/SimpleCircuitBreakerTest.java
void testFallbackWhenOpen() throws Exception { // Open the circuit circuitBreaker.tripBreaker(); String result = circuitBreaker.call(() -> "primary", () -> "fallback"); assertEquals("fallback", result); } @Test @DisplayName("Test transition to HALF_OPEN after timeout") void testTransitionToHalfOpen() throws Exception { // Open the circuit
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java
throws ArtifactMetadataRetrievalException { throw new UnsupportedOperationException("Cannot get available versions in this test case"); } @Override public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository( Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws ArtifactMetadataRetrievalException {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
} public void testNoEqualsChecksOnEnum() throws Exception { tester.testEquals(OneConstantEnum.class); tester.testEquals(NoConstantEnum.class); tester.testEquals(TimeUnit.class); } public void testNoEqualsChecksOnInterface() throws Exception { tester.testEquals(Runnable.class); } public void testNoEqualsChecksOnAnnotation() throws Exception { tester.testEquals(MyAnnotation.class);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 36.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
when(ctx.getConfig()).thenReturn(cfg); return ctx; } @Test @DisplayName("copyFile wraps and throws when ignoreCopyToException=false") void copyFile_throwsWhenIgnoreFalse() throws Exception { // Arrange SmbFile src = mock(SmbFile.class, RETURNS_DEEP_STUBS); SmbFile dest = mock(SmbFile.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0)