- Sort Score
- Result 10 results
- Languages All
Results 641 - 650 of 1,808 for try (0.02 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
PermittedMetaException referenceException = null; Object targetReturnValue = null; Exception targetException = null; try { targetReturnValue = method.execute(target); } catch (Exception e) { // sneaky checked exception targetException = e; } try { if (method == NEXT_METHOD && targetException == null && knownOrder == KnownOrder.UNKNOWN_ORDER) { /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
try (SmbFile file = new SmbFile("smb://server/share/test.txt", context)) { // Open file with lease file.createNewFile(); // Verify lease was granted assertTrue(file.canCacheRead()); // Write should be cached try (OutputStream os = file.getOutputStream()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
) { writerQueue.execute("$connectionName[$streamId] windowUpdate") { try { writer.windowUpdate(streamId, unacknowledgedBytesRead) } catch (e: IOException) { failConnection(e) } } } fun writePing( reply: Boolean, payload1: Int, payload2: Int, ) { try { writer.ping(reply, payload1, payload2) } catch (e: IOException) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
} /** * Test creation with null component name */ public void test_create_nullComponentName() { factory.setComponentName(null); try { factory.create(); fail("Should throw exception for null component name"); } catch (Exception e) { // Expected behavior assertTrue(true); } }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java
* @param file the file path to write the thread dump to */ public static void writeThreadDump(final String file) { try (final Writer writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), Constants.CHARSET_UTF_8))) { processThreadDump(s -> { try { writer.write(s); writer.write('\n'); } catch (final IOException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.3K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt
val interceptor = HttpLoggingInterceptor().apply { level = HttpLoggingInterceptor.Level.BASIC } val client = clientBuilder.addInterceptor(interceptor).build() try { client.newCall(request).execute() } catch (uhe: UnknownHostException) { // expected } val logs = ShadowLog.getLogsForTag(AndroidPlatform.Tag)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
*/ public void assertSuccess(Object expectedData) throws Throwable { // Verify that the listener executed in a reasonable amount of time. Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { Assert.assertEquals(expectedData, future.get()); } catch (ExecutionException e) { throw e.getCause(); } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb/FileEntryAdapterIterator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java
RegexBasedInterpolator interpolator = new RegexBasedInterpolator(); try { interpolator.addValueSource(new EnvarBasedValueSource()); } catch (IOException e) { // ignored } interpolator.addValueSource(new MapBasedValueSource(System.getProperties())); try { if (fileString != null && !fileString.isEmpty()) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ComponentUtilTest.java
} public void test_getJobExecutor_withSuffix() { try { ComponentUtil.getJobExecutor("testJobExecutor"); fail("Should throw exception"); } catch (Exception e) { // Expected } } public void test_getJobExecutor_withoutSuffix() { try { ComponentUtil.getJobExecutor("test");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 7.3K bytes - Viewed (0)