- Sort Score
- Num 10 results
- Language All
Results 701 - 710 of 2,371 for Try (0.02 seconds)
-
src/main/java/jcifs/http/NtlmHttpURLConnection.java
this.transportContext = tc; this.requestProperties = new HashMap<>(); copySettings(); } /** * */ private final void copySettings() { try { this.setRequestMethod(this.connection.getRequestMethod()); } catch (final ProtocolException e) { throw new RuntimeCIFSException("Failed to set request method", e); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 25.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java
validate(form, messages -> {}, () -> uploadpage(form.dictId)); verifyToken(() -> uploadpage(form.dictId)); return kuromojiService.getKuromojiFile(form.dictId).map(file -> { try (InputStream inputStream = form.kuromojiFile.getInputStream()) { file.update(inputStream); } catch (final IOException e) { logger.warn("Failed to process a request.", e);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 21.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
public void storeInfo(List<CrawlingInfoParam> crawlingInfoParamList) { // Should not be called } }, CrawlingInfoService.class.getCanonicalName()); try { crawlingInfoHelper.store(sessionId, true); fail("Should throw FessSystemException"); } catch (FessSystemException e) { assertEquals("No crawling session.", e.getMessage());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 28.7K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
assertNull(request.proxy()); assertNull(request.body()); } @Test public void testConstructorWithNullMethod() { String url = "https://example.com"; try { new CurlRequest(null, url); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException e) { assertTrue(e.getMessage().contains("method must not be null"));
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 24.7K bytes - Click Count (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) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 19K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
protected long getCurrentTime() { return System.currentTimeMillis(); } }; Set<String> roleSet; try { roleSet = buildByHeader(roleQueryHelperImpl, getMockRequest()); fail(); } catch (final NullPointerException e) { //ok }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 28.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
} }, DECODE { @Override void assertFailsToDecode( BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) { try { encoding.decode(cannotDecode); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { if (expectedMessage != null) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java
})); expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) @CollectionSize.Require(ZERO) public void testReplaceAll_unsupportedByEmptyCollection() { try { getMap() .replaceAll( (K k, V v) -> { int index = keys().asList().indexOf(k); return values().asList().get(index + 1); });Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 4.5K bytes - Click Count (0) -
.teamcity/scripts/CheckBadMerge.java
} List<String> commits = readCommitsFromStdin(); try { for (String commit : commits) { checkCommit(commit); } } finally { THREAD_POOL.shutdown(); } } private static List<String> readCommitsFromStdin() throws IOException {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 16:25:09 GMT 2026 - 9K bytes - Click Count (0)