- Sort Score
- Result 10 results
- Languages All
Results 691 - 700 of 2,073 for catch (0.02 sec)
-
src/main/java/org/codelibs/core/net/MimeTypeUtil.java
if (mimetype != null) { return mimetype; } return URLConnection.guessContentTypeFromName(path); } catch (final IOException e) { throw new IORuntimeException(e); } finally { CloseableUtil.close(is); } }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
persistent = true } catch (_: IllegalArgumentException) { // Ignore this attribute, it isn't recognizable as a date. } } attributeName.equals("max-age", ignoreCase = true) -> { try { deltaSeconds = parseMaxAge(attributeValue) persistent = true } catch (_: NumberFormatException) {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
// The class should be serializable as it extends RuntimeException assertTrue(exception instanceof java.io.Serializable); } @Test @DisplayName("Should behave correctly in catch blocks") void testCatchBlockBehavior() { // Test that RuntimeCIFSException can be caught as RuntimeException assertThrows(RuntimeException.class, () -> {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
} catch (IllegalArgumentException e) { assertEquals("name or dataStore is null.", e.getMessage()); } } // Test add method with both null parameters public void test_add_bothNull() { try { dataStoreFactory.add(null, null); fail("Should throw IllegalArgumentException"); } catch (IllegalArgumentException e) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsWordExtractor.java
final org.apache.poi.hwpf.extractor.WordExtractor wordExtractor = new org.apache.poi.hwpf.extractor.WordExtractor(in); return new ExtractData(wordExtractor.getText()); } catch (final IOException e) { throw new ExtractException(e); } }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 1.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorTest.java
logger.info(content); assertTrue(content.contains("ใในใ")); } public void test_getText_null() { try { textExtractor.getText(null, null); fail(); } catch (final CrawlerSystemException e) { // NOP } }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java
} catch (IllegalArgumentException e) { // Expected } } public void test_addConstraintsDecimalMaxMessage_nullProperty() { try { messages.addConstraintsDecimalMaxMessage(null, "100"); fail("Should throw exception for null property"); } catch (IllegalArgumentException e) { // ExpectedRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 28.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/score/ScoreUpdater.java
scoreBoosterList.forEach(b -> { try { final long count = b.process(); resultBuf.append(b.getClass().getSimpleName()).append(" : ").append(count).append('\n'); } catch (final Exception e) { logger.warn("Failed to update scores.", e); resultBuf.append(e.getMessage()).append('\n'); } }); return resultBuf.toString(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/UuidUtil.java
StringUtil.appendHex(buf, RANDOM.nextInt()); return buf.toString(); } private static byte[] getAddress() { try { return InetAddress.getLocalHost().getAddress(); } catch (final UnknownHostException ignore) { return DEFAULT_ADDRESS; } }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.9K bytes - Viewed (0)