- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,782 for scratch (0.2 seconds)
-
src/main/java/org/codelibs/core/net/URLUtil.java
try { final URLConnection connection = url.openConnection(); connection.setUseCaches(false); return connection.getInputStream(); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Returns a {@link URLConnection} object that represents a connection to the remote object referred to by the URL.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
try { return groovyShell.evaluate(template); } catch (final JobProcessingException e) { throw e; } catch (final Exception e) { return null; } finally { final GroovyClassLoader loader = groovyShell.getClassLoader();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
} catch (Exception e) { fail("writeThreadDump should handle invalid paths gracefully: " + e.getMessage()); } } @Test public void test_writeThreadDump_withNullPath() { try { ThreadDumpUtil.writeThreadDump(null); // Should not throw exception but log warning } catch (Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java
getMap().replace(k0(), v3(), v4()); } catch (UnsupportedOperationException tolerated) { // the operation would be a no-op, so exceptions are allowed but not required } expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testReplaceEntry_unsupportedAbsentKey() { try { getMap().replace(k3(), v3(), v4()); } catch (UnsupportedOperationException tolerated) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 5.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
} catch (AssertionError expected) { return; } fail(); } public void testNullsOnReturnValues_returnTypeFiltered() throws Exception { try { tester .forAllPublicStaticMethods(BadNullsFactory.class) .thatReturn(Iterable.class) .testNulls(); } catch (AssertionError expected) { assertThat(expected)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 36.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLookup.java
try { return container.lookup(type); } catch (ComponentLookupException e) { throw new LookupException(e); } } @Override public <T> T lookup(Class<T> type, String name) { try { return container.lookup(type, name); } catch (ComponentLookupException e) { throw new LookupException(e); } }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
assertArgumentNotNull("channel", channel); assertArgumentNotNull("mode", mode); try { return channel.map(mode, 0, channel.size()); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Returns the size of the file. * * @param channel
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
assertNotNull(result); assertTrue(result.contains("string")); assertTrue(result.contains("test")); } catch (IORuntimeException e) { // Expected in test environment due to OpenSearch XContent setup assertTrue(e.getCause() instanceof IOException); } } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
@Throws(IOException::class) fun flushRequest() { try { codec.flushRequest() } catch (e: IOException) { call.eventListener.requestFailed(call, e) trackFailure(e) throw e } } @Throws(IOException::class) fun finishRequest() { try { codec.finishRequest() } catch (e: IOException) { call.eventListener.requestFailed(call, e) trackFailure(e)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 10.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java
ComponentUtil.register(new MockRoleQueryHelper(), "roleQueryHelper"); } @Test public void test_init() { try { labelTypeHelper.init(); } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } @Test public void test_load() { int result = labelTypeHelper.load();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 12.7K bytes - Click Count (0)