- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 1,808 for try (0.01 sec)
-
samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java
Request request = new Request.Builder() .url("https://api.github.com/markdown/raw") .post(pipeBody) .build(); streamPrimesToSinkAsynchronously(pipeBody.sink()); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jul 06 03:18:15 UTC 2018 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/SAXParserUtil.java
assertArgumentNotNull("parser", parser); assertArgumentNotNull("inputSource", inputSource); assertArgumentNotNull("handler", handler); try { parser.parse(inputSource, handler); } catch (final SAXException e) { throw new SAXRuntimeException(e); } 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 - 3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java
* * @param props the properties for configuring the CIFS context * @throws CrawlingAccessException if an error occurs during initialization */ public JcifsEngine(final Properties props) { try { cifsContext = new BaseContext(new PropertyConfiguration(props)); } catch (final CIFSException e) { throw new CrawlingAccessException(e); } } /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java
TestAuthenticationChain chain = new TestAuthenticationChain(); chain.updateThrowsException = true; User user = createTestUser("testuser", "Test User"); try { chain.update(user); fail("Expected exception to be thrown"); } catch (RuntimeException e) { assertEquals("Update failed", e.getMessage()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
} final boolean hasAccessToken = processAccessToken(request, roleSet, isApiRequest); final RequestManager requestManager = ComponentUtil.getRequestManager(); try { requestManager.findUserBean(FessUserBean.class) .ifPresent(fessUserBean -> stream(fessUserBean.getPermissions()).of(stream -> stream.forEach(roleSet::add)))
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
while (true) { call.enterNetworkInterceptorExchange(request, newRoutePlanner, chain) var response: Response var closeActiveExchange = true try { if (call.isCanceled()) { throw IOException("Canceled") } try { response = realChain.proceed(request) newRoutePlanner = true } catch (e: IOException) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 12.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Serialization.java
field.setAccessible(true); } void set(T instance, Object value) { try { field.set(instance, value); } catch (IllegalAccessException impossible) { throw new AssertionError(impossible); } } void set(T instance, int value) { try { field.set(instance, value); } catch (IllegalAccessException impossible) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
guava/src/com/google/common/hash/ChecksumHashFunction.java
if (UPDATE_BB != null) { try { UPDATE_BB.invokeExact(cs, bb); } catch (Throwable e) { // `update` has no `throws` clause. sneakyThrow(e); } return true; } else { return false; } } private static @Nullable MethodHandle updateByteBuffer() { try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java
final String sesState = (String) session.getAttribute(SAML_STATE); if (StringUtil.isNotBlank(sesState)) { session.removeAttribute(SAML_STATE); try { final Auth auth = new Auth(getSettings(), request, response); auth.processResponse(); if (!auth.isAuthenticated()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 16.4K bytes - Viewed (1)