- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 1,808 for Try (0.01 sec)
-
src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java
* @return {@link ZipEntry} * @see ZipInputStream#getNextEntry() */ public static ZipEntry getNextEntry(final ZipInputStream zis) { assertArgumentNotNull("zis", zis); try { return zis.getNextEntry(); } catch (final IOException e) { throw new IORuntimeException(e); } } /**Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java
throwValidationErrorApi(messages -> { messages.addErrorsCrudFailedToCreateInstance(GLOBAL); }); return null; }); try { roleService.store(entity); } catch (final Exception e) { logger.warn("Failed to process a request.", e);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7K bytes - Viewed (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
server.setHandler(handlers); } public void start() { try { server.start(); } catch (final Exception e) { throw new CrawlerSystemException(e); } } public void stop() { try { server.stop(); server.join(); } catch (final Exception e) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
try { final Method method = CustomSize.class.getMethod("minKey"); final Object defaultValue = method.getDefaultValue(); return defaultValue != null ? defaultValue.toString() : StringUtil.EMPTY; } catch (final Exception e) { return StringUtil.EMPTY; } } private String getDefaultMaxKey() { try {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Internal.java
@IgnoreJRERequirement static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try { return duration.toNanos(); } catch (ArithmeticException tooBig) { return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 1.9K bytes - Viewed (0) -
docs/sts/client_grants/sts_element.py
:param name: Name for XML data. Used in XML errors. :param data: string data to be parsed. :return: Returns an STSElement. """ try: return cls(root_name, cElementTree.fromstring(data)) except _ETREE_EXCEPTIONS as error: raise InvalidXMLError( '"{}" XML is not parsable. Message: {}'.format(Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.5K bytes - Viewed (0) -
docs/en/docs/advanced/websockets.md
In your WebSocket route you can `await` for messages and send messages. {* ../../docs_src/websockets/tutorial001.py hl[48:52] *} You can receive and send binary, text, and JSON data. ## Try it { #try-it } If your file is named `main.py`, run your application with: <div class="termy"> ```console $ fastapi dev main.pyRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/security/MessageDigestUtil.java
* If a {@link NoSuchAlgorithmException} occurs */ public static MessageDigest getInstance(final String algorithm) { assertArgumentNotEmpty("algorithm", algorithm); try { return MessageDigest.getInstance(algorithm); } catch (final NoSuchAlgorithmException e) { throw new NoSuchAlgorithmRuntimeException(e); } } /**Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 10 21:03:40 UTC 2025 - 2.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractorTest.java
logger.info(content); assertTrue(content.contains("テスト")); assertTrue(content.contains("テキスト")); } public void test_getText_maxSize() throws IOException { try (final InputStream in = ResourceUtil.getResourceAsStream("extractor/lha/test.lzh")) { lhaExtractor.setMaxContentSize(100); lhaExtractor.getText(in, null); fail();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 3.4K bytes - Viewed (0)