- Sort Score
- Result 10 results
- Languages All
Results 931 - 940 of 2,976 for throw (0.02 sec)
-
android/guava-testlib/src/com/google/common/testing/Platform.java
ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) requireNonNull(in.readObject()); } catch (IOException | ClassNotFoundException e) { throw new RuntimeException(e); } } private Platform() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleType.java
*/ public static HandleType fromValue(int value) { for (HandleType type : values()) { if (type.value == value) { return type; } } throw new IllegalArgumentException("Unknown handle type value: " + value); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/MimeTypeUtil.java
if (mimetype != null) { return mimetype; } return URLConnection.guessContentTypeFromName(path); } catch (final IOException e) { throw new IORuntimeException(e); } finally { CloseableUtil.close(is); } }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
try { execJob.execute(); fail("Should throw RuntimeException"); } catch (RuntimeException e) { assertEquals("Test exception", e.getMessage()); } } // Test concurrent modification of jvmOptions public void test_jvmOptions_concurrent() throws InterruptedException { CountDownLatch latch = new CountDownLatch(2);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
this.sameSite = sameSite } fun build(): Cookie = Cookie( name ?: throw NullPointerException("builder.name == null"), value ?: throw NullPointerException("builder.value == null"), expiresAt, domain ?: throw NullPointerException("builder.domain == null"), path, secure, httpOnly, persistent, hostOnly,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt
if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } private class ProgressRequestBody( private val delegate: RequestBody, private val progressListener: ProgressListener, ) : RequestBody() { override fun contentType() = delegate.contentType() @Throws(IOException::class)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
@SuppressWarnings("unchecked") @Override public <T extends DfsReferralData> T unwrap(final Class<T> type) { if (type.isAssignableFrom(this.getClass())) { return (T) this; } throw new ClassCastException(); } @Override public long getExpiration() { return this.expiration; } @Override public int getPathConsumed() { return this.pathConsumed;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java
return 0; } @Override int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException { if (in.read(buffer, bufferIndex, length) != length) { throw new IOException("unexpected EOF reading netbios retarget session response"); } final int addr = readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java
} @Override public byte[] getName() { return CONTEXT_NAME_BYTES; } @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { if (len != 8) { throw new SMBProtocolDecodingException("Invalid durable handle response length: " + len); } // Read reserved field (should be all zeros but we don't validate)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
getMap() .compute( k0(), (k, v) -> { assertEquals(k0(), k); assertEquals(v0(), v); throw new SomeUncheckedException(); })); expectUnchanged(); } @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testCompute_absentFunctionThrows() { assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 7.2K bytes - Viewed (0)