- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 3,747 for throw (0.03 seconds)
-
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
try (InputStream is = null) { if (is == null) { throw new IOException("Resource is null"); } fail("Should not reach this point"); } catch (IOException e) { assertEquals("Resource is null", e.getMessage()); // No NullPointerException should be thrown when exiting try-with-resources } } /**
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 9.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { @Override public Object get(Object key) throws ExecutionException { Object v = valueRef.get(); if (v == null) { throw new ExecutionException(cause); } return v; } @Override public @Nullable Object getIfPresent(Object key) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 5K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt
authType: String, ) = throw CertificateException("Unsupported operation") override fun checkClientTrusted( chain: Array<out X509Certificate>, authType: String?, ) = throw CertificateException("Unsupported operation") override fun checkClientTrusted( chain: Array<out X509Certificate>, authType: String, engine: SSLEngine?, ) = throw CertificateException("Unsupported operation")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
if (failureThreshold < 1) { throw new IllegalArgumentException("Failure threshold must be at least 1"); } if (successThreshold < 1) { throw new IllegalArgumentException("Success threshold must be at least 1"); } if (timeoutMillis < 0) { throw new IllegalArgumentException("Timeout must be non-negative"); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
// Should not throw exception but log warning } 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 warningCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/WriterUtil.java
assertArgumentNotNull("os", os); assertArgumentNotEmpty("encoding", encoding); try { return new OutputStreamWriter(os, encoding); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Creates a {@link Writer} to output to a file with the default encoding. * * @param file the file (must not be {@literal null})
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EmptyContiguousSet.java
@Override public C first() { throw new NoSuchElementException(); } @Override public C last() { throw new NoSuchElementException(); } @Override public int size() { return 0; } @Override public ContiguousSet<C> intersection(ContiguousSet<C> other) { return this; } @Override public Range<C> range() { throw new NoSuchElementException(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.1K bytes - Click Count (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
Thread.currentThread().interrupt(); throw new IOException("Interrupted waiting for send credit", e); } } if (!rdmaConnection.canSend()) { throw new IOException("Timeout waiting for RDMA send credit"); } } @Override public void disconnect() throws IOException { try { rdmaConnection.close();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java
* One is for releases, the other for snapshots. * ]]></usage> * </expression> * <expressions> * * @throws IOException * @throws XmlPullParserException */ private static Map<String, Expression> parseExpressionDocumentation(InputStream docStream) throws IOException, XmlPullParserException { ParamdocXpp3Reader paramdocReader = new ParamdocXpp3Reader();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMap.java
throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the map unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final boolean remove(@Nullable Object key, @Nullable Object value) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 44.7K bytes - Click Count (0)