- Sort Score
- Result 10 results
- Languages All
Results 1691 - 1700 of 2,367 for Exceptions (0.04 sec)
-
guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java
*/ @AndroidIncompatible // Finalization probably just doesn't happen fast enough? @NullUnmarked public class FileBackedOutputStreamAndroidIncompatibleTest extends IoTestCase { public void testFinalizeDeletesFile() throws Exception { byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(0, true); write(out, data, 0, 100, true); File file = out.getFile();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/EnumerationIterator.java
*/ package org.codelibs.core.collection; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Enumeration; import java.util.Iterator; import org.codelibs.core.exception.ClUnsupportedOperationException; /** * Adapter to convert an {@link Enumeration} to an {@link Iterator}. * * @author shot * @param <T> the element type */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Decrypt.java
super(messageBuilderFactory, secDispatcher); } @Override protected int doExecute(EncryptContext context) throws Exception { String encrypted = context.reader.readLine("Enter the password to decrypt: "); if (secDispatcher.isAnyEncryptedString(encrypted)) { context.terminal.writer().println(secDispatcher.decrypt(encrypted));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 17 09:50:45 UTC 2024 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
dcerpcBinding.setOption("endpoint", endpoint); }, "Should throw DcerpcException for unknown pipe endpoint."); assertTrue(thrown.getMessage().contains("Bad endpoint"), "Exception message should indicate a bad endpoint."); } @Test void testSetOptionEndpointInvalidFormat() { String endpoint = "135"; // Example non-pipe endpoint that is not recognized
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/processor/FessResponseProcessor.java
ResultData target = resultData; for (final Ingester ingester : ingestFactory.getIngesters()) { try { target = ingester.process(target, responseData); } catch (final Exception e) { logger.warn("Failed to process Ingest[{}]", ingester.getClass().getSimpleName(), e); } } return target; }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java
/** * @author shinsuke * */ public class SitemapsRuleTest extends PlainTestCase { public SitemapsRule sitemapsRule; @Override protected void setUp() throws Exception { super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("sitemapsHelper", SitemapsHelper.class)// .singleton("sitemapsRule", SitemapsRule.class);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
}, "All Address interface methods should be callable"); } @Test @DisplayName("unwrap method should return correct type when supported") void testUnwrapMethodContract() throws Exception { // Given when(mockAddress.unwrap(Address.class)).thenReturn(mockAddress); // When & Then Address unwrapped = mockAddress.unwrap(Address.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/MultiIterator.java
*/ package org.codelibs.core.collection; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Iterator; import java.util.NoSuchElementException; import org.codelibs.core.exception.ClUnsupportedOperationException; /** * An {@link Iterator} that iterates over multiple {@link Iterator}s as if they were a single {@link Iterator}. * <p> * Usage example: * </p> * * <pre>Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoaderTest.java
@Override public void execute(Runnable task) { tasks.add(task); } private void runNext() { tasks.removeFirst().run(); } } public void testAsyncReload() throws Exception { AtomicInteger loadCount = new AtomicInteger(); AtomicInteger reloadCount = new AtomicInteger(); AtomicInteger loadAllCount = new AtomicInteger(); CacheLoader<Object, Object> baseLoader =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 3.8K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java
private final Map<ByteString, Listener> listeners = new LinkedHashMap<>(); public OAuthSessionFactory(SlackApi slackApi) { this.slackApi = slackApi; } public void start() throws Exception { if (mockWebServer != null) throw new IllegalStateException(); mockWebServer = new MockWebServer(); mockWebServer.setDispatcher(this); mockWebServer.start(slackApi.port); }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 3.8K bytes - Viewed (1)