- Sort Score
- Result 10 results
- Languages All
Results 1031 - 1040 of 2,175 for catch (0.07 sec)
-
android/guava/src/com/google/common/base/Enums.java
@GwtIncompatible // reflection public static Field getField(Enum<?> enumValue) { Class<?> clazz = enumValue.getDeclaringClass(); try { return clazz.getDeclaredField(enumValue.name()); } catch (NoSuchFieldException impossible) { throw new AssertionError(impossible); } } /** * Returns an optional enum constant for the given type, using {@link Enum#valueOf}. If the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 26 11:56:44 UTC 2023 - 5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
return new ByteArrayInputStream(responseBodyBytes); } if (responseBodyFile != null) { try { return new FileInputStream(responseBodyFile); } catch (final FileNotFoundException e) { throw new IORuntimeException(e); } } return null; } public void setResponseBody(final byte[] responseBody) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 5.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
try { return versionScheme.parseVersion(spec); } catch (InvalidVersionSpecificationException e) { throw new RuntimeException(e); } } private VersionRange parseVersionRange(String spec) { try { return versionScheme.parseVersionRange(spec); } catch (InvalidVersionSpecificationException e) { throw new RuntimeException(e);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 25.8K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
} if (pluginFile.isFile()) { try { return new URL("jar:" + pluginFile.toURI() + "!/" + descriptor).openStream(); } catch (MalformedURLException e) { throw new IllegalStateException(e); } } else { return Files.newInputStream(new File(pluginFile, descriptor).toPath()); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
Runtime.getRuntime().gc() Thread.sleep(100) System.runFinalization() } @JvmStatic fun assumeNetwork() { try { InetAddress.getByName("www.google.com") } catch (uhe: UnknownHostException) { assumeTrue(false, "requires network") } } @JvmStatic fun assumeNotWindows() { assumeFalse(windows, "This test fails on Windows.") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 4.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
* some symbolic names meaningful to humans. */ private static int decode(String userFriendly) { try { return Integer.decode(userFriendly); } catch (NumberFormatException ignored) { if (userFriendly.matches("(?i)(?:American|English|ASCII)")) { // 1-byte UTF-8 sequences - "American" ASCII text return 0x80;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
* some symbolic names meaningful to humans. */ private static int decode(String userFriendly) { try { return Integer.decode(userFriendly); } catch (NumberFormatException ignored) { if (userFriendly.matches("(?i)(?:American|English|ASCII)")) { // 1-byte UTF-8 sequences - "American" ASCII text return 0x80;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java
} return str; } @Nonnull public static Path getCanonicalPath(Path path) { requireNonNull(path, "path"); try { return path.toRealPath(); } catch (IOException e) { return getCanonicalPath(path.getParent()).resolve(path.getFileName()); } } @Nonnull public static Map<String, String> toMap(Properties properties) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
.build()); return new DefaultSettingsBuildingResult( new Settings(result.getEffectiveSettings()), convert(result.getProblems())); } catch (SettingsBuilderException e) { throw new SettingsBuildingException(convert(e.getProblems())); } } private org.apache.maven.api.services.Source toSource(File file, Source source) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java
runner.clean(); } @Before public void before() throws Exception { try { runner.admin().indices().prepareDelete("_all").execute().actionGet(); } catch (IndexNotFoundException ignore) { } runner.refresh(); settings = Suggester.builder().build(runner.client(), id).settings(); } @Test public void test_elevateWordIndexName() {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 5.6K bytes - Viewed (0)