- Sort Score
- Result 10 results
- Languages All
Results 1001 - 1010 of 2,073 for catch (0.02 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java
RepositorySystem repositorySystem; try { repositorySystem = container.lookup(RepositorySystem.class); } catch (ComponentLookupException e) { throw new IllegalStateException("Unable to lookup " + RepositorySystem.class.getName()); } if (mirrors) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java
resultData.setData(IOUtils.toByteArray(bis)); resultData.setEncoding(responseData.getCharSet()); return resultData; } catch (final IOException e) { throw new CrawlerSystemException("Could not convert the input stream.", e); } } /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
*/ protected String decode(final String host) { if (host.indexOf('%') == -1) { return host; } try { return URLDecoder.decode(host, encoding); } catch (final UnsupportedEncodingException e) { return host; } } /** * Converts the given host string to ASCII using IDN. * * @param host the host string to convertRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
public abstract class AbstractListenableFutureTest extends TestCase { protected CountDownLatch latch; protected ListenableFuture<Boolean> future; @Override protected void setUp() throws Exception { // Create a latch and a future that waits on the latch. latch = new CountDownLatch(1); future = createListenableFuture(Boolean.TRUE, null, latch); } @Override protected void tearDown() throws Exception {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
assertFalse(runCalled); assertFalse(shutDownCalled); runCalled = true; assertEquals(State.RUNNING, state()); enterRun.countDown(); try { exitRun.await(); } catch (InterruptedException e) { throw new RuntimeException(e); } } @Override protected void shutDown() { assertTrue(startUpCalled); assertTrue(runCalled);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 12.8K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.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 Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/FailureUrlService.java
t.printStackTrace(pw); pw.flush(); return systemHelper.abbreviateLongText(sw.toString()); } catch (final IOException e) { logger.warn("Failed to print the stack trace {}", t.getMessage(), e); } return StringUtil.EMPTY; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Joiner.java
* * @since 11.0 */ @CanIgnoreReturnValue public final StringBuilder appendTo(StringBuilder builder, Iterator<?> parts) { try { appendTo((Appendable) builder, parts); } catch (IOException impossible) { throw new AssertionError(impossible); } return builder; } /** * Appends the string representation of each of {@code parts}, using the previously configured
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 19.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ReflectionFreeAssertThrows.java
+ " map in that class."); } Object result; try { result = supplier.get(); } catch (Throwable t) { if (predicate.apply(t)) { // We are careful to set up INSTANCE_OF to match each Predicate to its target Class. @SuppressWarnings("unchecked") T caught = (T) t; return caught; } throw new AssertionError(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.7K bytes - Viewed (0)