- Sort Score
- Num 10 results
- Language All
Results 1191 - 1200 of 2,684 for catch (0.03 seconds)
-
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt
add(buildCryptoSx(client)) // 521 - server down } add(buildChantra(client)) } private fun getByIp(host: String): InetAddress = try { InetAddress.getByName(host) } catch (e: UnknownHostException) { // unlikely throw RuntimeException(e) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
// The actual server name might be different from TEST_HOSTNAME based on how getHostName() works } } } catch (Exception e) { fail("Failed to invoke makeTargetInfo via reflection: " + e.getMessage()); } } @Test @DisplayName("makeTargetInfo should handle missing domain")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 38.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java
logger.debug("Rendered markdown. inputLength={}, outputLength={}", markdown.length(), sanitizedHtml.length()); } return sanitizedHtml; } catch (final Exception e) { logger.warn("Failed to render markdown, returning escaped plain text. error={}", e.getMessage()); // Fallback to escaped plain text return escapeHtml(markdown);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 12 10:32:40 GMT 2026 - 5.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/message/MessageFormatter.java
final String pattern = getPattern(messageCode); if (pattern != null) { return MessageFormat.format(pattern, args); } return getNoPatternMessage(args); } catch (final Throwable ignore) { return getNoPatternMessage(args); } } /** * Returns the pattern string corresponding to the message code. * * @param messageCode
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/ReflectionFreeAssertThrows.java
+ " map in that class."); } Object result; try { result = supplier.get(); } catch (Throwable t) { if (predicate.apply(t)) { // We are careful to set up INSTANCE_OF to match each Predicate to its target Class. @SuppressWarnings("unchecked") T caught = (T) t; return caught; } throw new AssertionError(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
+ " map in that class."); } Object result; try { result = supplier.get(); } catch (Throwable t) { if (predicate.apply(t)) { // We are careful to set up INSTANCE_OF to match each Predicate to its target Class. @SuppressWarnings("unchecked") T caught = (T) t; return caught; } throw new AssertionError(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
context.updateHash(newHash); log.debug("Updated preauth hash for session {} with {} bytes of data", sessionId, messageData.length); } catch (Exception e) { context.invalidate(); throw new CIFSException("Failed to update preauth integrity hash for session " + sessionId, e); } } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 12.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java
.getPluginDescriptor() .getLifecycleMappings() .values())); } catch (Exception e) { throw new RuntimeException("Unable to load plugin lifecycles", e); } } @Override public ClassLoader getClassLoader() {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 5.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
public void testAwaitWithNoWait() { Stopwatch stopwatch = Stopwatch.createStarted(); CountDownLatch latch = new CountDownLatch(0); awaitUninterruptibly(latch); assertTrue(awaitUninterruptibly(latch, 0, MILLISECONDS)); assertTrue(awaitUninterruptibly(latch, -42, MILLISECONDS)); assertTrue(awaitUninterruptibly(latch, LONG_DELAY_MS, MILLISECONDS)); assertTimeNotPassed(stopwatch, LONG_DELAY_MS); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/BaseApiManager.java
response.setContentType(buf.toString()); writeHeaders(response); try (PrintWriter out = new PrintWriter(new OutputStreamWriter(response.getOutputStream(), enc))) { out.print(text); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Writes custom headers to the HTTP response. * @param response The HTTP servlet response. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.9K bytes - Click Count (0)