- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 1,782 for scratch (0.06 seconds)
-
samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt
.readTimeout(500, TimeUnit.MILLISECONDS) .build() try { client1.newCall(request).execute().use { response -> println("Response 1 succeeded: $response") } } catch (e: IOException) { println("Response 1 failed: $e") } // Copy to customize OkHttp for this request. val client2 = client .newBuilder()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/UniAddress.java
} @Override public void run() { try { ans = NbtAddress.getByName(host, type, scope, svr); } catch (final UnknownHostException uhe) { this.uhe = uhe; } catch (final Exception ex) { this.uhe = new UnknownHostException(ex.getMessage()); } finally { synchronized (sem) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
assertNotNull(result); } catch (Exception e) { assertTrue(true); } } @Test public void test_createHighlightInfo() { ViewHelper viewHelper = new ViewHelper(); viewHelper.init(); try { assertNotNull(viewHelper.createHighlightInfo()); } catch (Exception e) { assertTrue(true); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 27.8K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
} else { Files.delete(handleFile); } } catch (Exception e) { log.error("Failed to load handle file: " + handleFile, e); Files.deleteIfExists(handleFile); } } } catch (IOException e) { log.error("Failed to load persisted handles", e); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java
try { provider.provide(null); fail("Should throw exception for null classification name"); } catch (ProvidedClassificationNotFoundException e) { // expected assertTrue(e.getMessage().contains("Not found the classification: null")); } catch (NullPointerException e) { // Also acceptable if null is not handled explicitly } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java
} @Test public void test_throwAndCatch() { // Test throwing and catching the exception String message = "Throw and catch test"; try { throw new SearchEngineClientException(message); } catch (SearchEngineClientException e) { assertEquals(message, e.getMessage()); assertNull(e.getCause()); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
try { Platform.get().connectSocket(rawSocket, route.socketAddress, socketConnectTimeoutMillis) } catch (e: ConnectException) { throw ConnectException("Failed to connect to ${route.socketAddress}").apply { initCause(e) } } // The following try/catch block is a pseudo hacky way to get around a crash on Android 7.0 // More details:Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 19.3K bytes - Click Count (2) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
try { testEqualsUsing(factory); return; } catch (ParameterNotInstantiableException e) { paramErrors.add(e); } catch (ParameterHasNoDistinctValueException e) { distinctValueErrors.add(e); } catch (InvocationTargetException e) { instantiationExceptions.add(e); } catch (FactoryMethodReturnsNullException e) { nullErrors.add(e); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java
expressionDocumentation.putAll(doco); } } catch (IOException e) { throw new ExpressionDocumentationException( "Failed to read documentation for expression root: " + root, e); } catch (XmlPullParserException e) { throw new ExpressionDocumentationException(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
} catch (Exception e) { synchronized (exceptions) { exceptions.add(e); } } } long threadEnd = System.nanoTime(); totalTime.addAndGet(threadEnd - threadStart); } catch (InterruptedException e) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.3K bytes - Click Count (0)