- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 2,175 for catch (0.14 sec)
-
src/test/java/org/codelibs/fess/query/DefaultQueryBuilderTest.java
try { new DefaultQueryBuilder(null); fail(); } catch (IllegalArgumentException e) { // nothing } } public void test_invalid_query() { try { new DefaultQueryBuilder(QueryBuilders.matchAllQuery()); fail(); } catch (IllegalArgumentException e) { // nothing } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 11 08:26:36 UTC 2024 - 1.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
fail("Expected IllegalStateException"); } catch (IllegalStateException expected) { } } assertEquals(expectHost, hp.getHost()); // Check the post-withDefaultPort() instance (if any). if (!badDefaultPort) { try { int port = hp2.getPort(); assertTrue(expectPort != -1); assertEquals(expectPort, port); } catch (IllegalStateException e) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 9.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
Object obj = interpolationTargets.removeFirst(); try { traverseObjectWithParents(obj.getClass(), obj); } catch (ModelInterpolationException e) { return e; } } return null; } @SuppressWarnings({"unchecked", "checkstyle:methodlength"})
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
try { uni = password.getBytes( SmbConstants.UNI_ENCODING ); } catch( UnsupportedEncodingException uee ) { if( log.level > 0 ) uee.printStackTrace( log ); } MD4 md4 = new MD4(); md4.update( uni ); try { md4.digest(p21, 0, 16); } catch (Exception ex) { if( log.level > 0 ) ex.printStackTrace( log );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 22.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java
int unused = IntMath.checkedAdd(a, b); return true; } catch (ArithmeticException e) { return false; } } @Override public boolean noAddOverflow(long a, long b) { try { long unused = LongMath.checkedAdd(a, b); return true; } catch (ArithmeticException e) { return false; } } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
try { MILLISECONDS.sleep(DELAY_MS); } catch (InterruptedException e) { throw new RuntimeException(e); } } }; private static final Runnable BAD_RUNNABLE = new Runnable() { @Override public void run() { try { MILLISECONDS.sleep(DELAY_MS); } catch (InterruptedException e) { throw new RuntimeException(e);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 9.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt
.readTimeout(500, TimeUnit.MILLISECONDS) .build() try { client1.newCall(request).execute().use { response -> println("Response 1 succeeded: $response") } } catch (e: IOException) { println("Response 1 failed: $e") } // Copy to customize OkHttp for this request. val client2 = client.newBuilder() .readTimeout(3000, TimeUnit.MILLISECONDS)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/MessageDigestHashFunction.java
try { return MessageDigest.getInstance(algorithmName); } catch (NoSuchAlgorithmException e) { throw new AssertionError(e); } } @Override public Hasher newHasher() { if (supportsClone) { try { return new MessageDigestHasher((MessageDigest) prototype.clone(), bytes); } catch (CloneNotSupportedException e) { // falls through } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 25 20:32:46 UTC 2022 - 5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingQueue.java
* you may wish to override {@link #offer} to forward to this implementation. * * @since 7.0 */ protected boolean standardOffer(@ParametricNullness E e) { try { return add(e); } catch (IllegalStateException caught) { return false; } } /** * A sensible definition of {@link #peek} in terms of {@link #element}. If you override {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 4.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
} public void start() { try { server.start(); } catch (final Exception e) { throw new CrawlerSystemException(e); } } public void stop() { try { server.stop(); server.join(); } catch (final Exception e) { throw new CrawlerSystemException(e); } finally {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 5K bytes - Viewed (0)