- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 2,073 for catch (0.02 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java
} catch (final Exception e) { throw new CrawlingAccessException("Could not extract data.", e); } final ResultData resultData = new ResultData(); resultData.setTransformerName(getName()); try { resultData.setData(content.getBytes(charsetName)); } catch (final UnsupportedEncodingException e) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
generator.setCommandList(Collections.singletonList("echo test")); try { generator.generate("test_id", null); fail("Should throw exception for null output file"); } catch (final Exception e) { assertTrue(true); } } public void test_generate_thumbnailId_null() throws Exception { final File outputFile = File.createTempFile("command_generator", ".out");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 16.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
checkNotNull(s); // expect NPE here on null } public static void staticOneArgThrowsOtherThanNpe(String s) { throw new FooException(); // should catch as failure } public static void staticOneArgShouldThrowNpeButDoesnt(String s) { // should catch as failure } public static void staticOneArgCheckForNullCorrectlyDoesNotThrowNpe(@CheckForNull String s) { // null? no problem }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 47.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Jdk9Platform.kt
// be used. Observed if you didn't specify SSLParameters.setApplicationProtocols when (val protocol = sslSocket.applicationProtocol) { null, "" -> null else -> protocol } } catch (e: UnsupportedOperationException) { // https://docs.oracle.com/javase/9/docs/api/javax/net/ssl/SSLSocket.html#getApplicationProtocol-- null }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 29 16:52:38 UTC 2025 - 3.5K bytes - Viewed (0) -
buildscripts/multipart-quorum-test.sh
exit 1 fi trap 'catch $LINENO' ERR function purge() { rm -rf "$1" } # shellcheck disable=SC2120 catch() { if [ $# -ne 0 ]; then echo "error on line $1" fi echo "Cleaning up instances of MinIO" pkill minio || true pkill -9 minio || true purge "$WORK_DIR" if [ $# -ne 0 ]; then exit $# fi } catch function start_minio_10drive() {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Sep 06 10:51:23 UTC 2024 - 2.9K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt
} // Enable ALPN. setAlpnProtocols.invoke( sslSocket, Platform.concatLengthPrefixed(protocols), ) } catch (e: IllegalAccessException) { throw AssertionError(e) } catch (e: InvocationTargetException) { throw AssertionError(e) } } } override fun getSelectedProtocol(sslSocket: SSLSocket): String? {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Internal.java
@IgnoreJRERequirement static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try { return duration.toNanos(); } catch (ArithmeticException tooBig) { return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 1.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
do { System.runFinalization(); if (latch.getCount() == 0) { return; } System.gc(); try { if (latch.await(1L, SECONDS)) { return; } } catch (InterruptedException ie) { throw new RuntimeException("Unexpected interrupt while waiting for latch", ie); } } while (System.nanoTime() - deadline < 0);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java
plugin, project.getRemotePluginRepositories(), session.getRepositorySession()); } catch (PluginResolutionException e) { throw new PluginNotFoundException(plugin, project.getPluginArtifactRepositories()); } catch (PluginDescriptorParsingException | InvalidPluginDescriptorException e) { throw new PluginManagerException(plugin, e.getMessage(), e); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 10.1K bytes - Viewed (0)