- Sort Score
- Num 10 results
- Language All
Results 521 - 530 of 2,692 for Exception (0.06 seconds)
-
src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java
protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); purgeThumbnailJob = new PurgeThumbnailJob(); // Create a mock ThumbnailManager thumbnailManager = new MockThumbnailManager(); ComponentUtil.register(thumbnailManager, "thumbnailManager"); } @Override protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
verify(filter, times(2)).accept(resource); verify(resource, times(2)).close(); } @Test @DisplayName("Iterator with filter throwing exception") void iteratorWithFilterException() throws Exception { // Setup: first attempt throws, second succeeds FileEntry entry1 = mock(FileEntry.class); FileEntry entry2 = mock(FileEntry.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
throw e; } }; } /** Returns a {@link CacheLoader} that throws the given exception for every request. */ static <K, V> CacheLoader<K, V> exceptionLoader(Exception e) { checkNotNull(e); return new CacheLoader<K, V>() { @Override public V load(K key) throws Exception { throw e; } }; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
} @Test void byteArrayBlob() throws Exception { SmbComSessionSetupAndX obj = new SmbComSessionSetupAndX(mockContext, mockNegotiate, mockAndX, blobCred()); assertArrayEquals(blobCred(), (byte[]) getField(obj, "blob")); } @Test void writeParameterWordsWithBlob() throws Exception { setupNegotiateStubs(); when(mockConfig.getVcNumber()).thenReturn(0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
@SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp(); hasher = mock(Hasher.class); hashFunction = mock(HashFunction.class); when(hashFunction.newHasher()).thenReturn(hasher); } public void testWrite_putSingleByte() throws Exception { int b = 'q'; HashingOutputStream out = new HashingOutputStream(hashFunction, buffer);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/FessActionDefTest.java
policeStoryOfJavaClassChase(new NonActionExtendsActionPolice()); assertTrue(true); } @Test public void test_nonWebHasWebReference() throws Exception { policeStoryOfJavaClassChase(new NonWebHasWebReferencePolice()); assertTrue(true); } @Test public void test_webPackageNinjaReferencePolice() throws Exception {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 2.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
import java.util.Properties; import org.codelibs.core.exception.IORuntimeException; import org.codelibs.core.net.URLUtil; /** * Utility class for {@link Properties} operations. * * @author higa */ public abstract class PropertiesUtil { /** * Do not instantiate. */ protected PropertiesUtil() { } /** * Wraps exception handling for {@link Properties#load(InputStream)}.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/PurgeLogJob.java
} } catch (final Exception e) { logger.error("Failed to purge user info.", e); resultBuf.append(e.getMessage()).append("\n"); } // update job logs try { jobLogService.updateStatus(); } catch (final Exception e) { logger.error("Failed to purge job logs.", e);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
state = RdmaConnectionState.CONNECTED; log.debug("DiSNI RDMA connection established to {}", remoteAddress); } catch (Exception e) { state = RdmaConnectionState.ERROR; throw new IOException("DiSNI RDMA connection failed", e); } } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
} @ParameterizedTest @ValueSource(booleans = { true, false }) @DisplayName("isOpen delegates to handle.isOpen") void isOpen_delegates(boolean state) throws Exception { // Arrange SmbPipeOutputStream out = newStream(); when(handle.isOpen()).thenReturn(state); // Act boolean result = out.isOpen(); // AssertCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0)