- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 2,371 for Try (0.01 seconds)
-
android/guava/src/com/google/common/io/CharSource.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 25.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
public void test_rethrowWithWrapping() { // Test rethrowing with wrapping String originalMessage = "Original theme error"; String wrapperMessage = "Failed to process theme"; try { try { throw new ThemeException(originalMessage); } catch (ThemeException e) { throw new ThemeException(wrapperMessage, e); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
/* * Note the Transport thread isn't running yet so we can * read from the socket here. */ try { this.socket.setSoTimeout(this.transportContext.getConfig().getConnTimeout()); if (peekKey() == null) { /* try to read header */ throw new IOException("transport closed in negotiate"); } } finally {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sat Jan 31 12:23:29 GMT 2026 - 62.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
* @return A <code>ZipFile</code> for reading the specified Zip file. */ public static ZipFile create(final String file) { assertArgumentNotEmpty("file", file); try { return new ZipFile(file); } catch (final IOException e) { throw new IORuntimeException(e); } } /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 4.7K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
assertThat(e).hasCauseThat().isInstanceOf(InterruptedException.class); } public void testAwait_countDownLatch_interrupted() { Interruptenator interruptenator = new Interruptenator(Thread.currentThread()); try { CountDownLatch latch = new CountDownLatch(1); RuntimeException expected = assertThrows(RuntimeException.class, () -> GcFinalization.await(latch)); assertWrapsInterruptedException(expected);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 8.8K bytes - Click Count (0) -
src/main/java/jcifs/Config.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
// Write test content to file try (FileOutputStream fos = new FileOutputStream(testFile)) { fos.write(getTestContent().getBytes(StandardCharsets.UTF_8)); } // Create a temporary project.properties file for SystemHelper File propFile = File.createTempFile("project", ".properties"); propFile.deleteOnExit(); try (FileOutputStream fos = new FileOutputStream(propFile)) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
Map<String, Object> docMap = new HashMap<>(); // Note: isTarget requires FessConfig which needs container // We can only verify the method handles missing container gracefully try { generator.isTarget(docMap); } catch (IllegalStateException e) { // Expected when container is not initialized assertTrue(e.getMessage().contains("Not initialized")); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 17.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
crawlerContext.sessionId = sdf.format(new Date()); } /** * Adds a URL to the crawling queue. * @param url The URL to add. */ public void addUrl(final String url) { try { urlQueueService.add(crawlerContext.sessionId, url); if (logger.isDebugEnabled()) { logger.debug("Added URL to queue: url={}, sessionId={}", url, crawlerContext.sessionId); }
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 17K bytes - Click Count (0)