- Sort Score
- Result 10 results
- Languages All
Results 651 - 660 of 2,781 for throwIt (1.55 sec)
-
samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java
private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { RequestBody requestBody = new RequestBody() { @Override public MediaType contentType() { return MEDIA_TYPE_MARKDOWN; } @Override public void writeTo(BufferedSink sink) throws IOException { sink.writeUtf8("Numbers\n"); sink.writeUtf8("-------\n");
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jul 06 03:18:15 UTC 2018 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
@Test @DisplayName("Should throw exception when encoding null UUID") void testPolicyHandleEncodeNullUuidThrowsException() { // Given: A policy handle with null UUID rpc.policy_handle policyHandle = new rpc.policy_handle(); policyHandle.type = 123; policyHandle.uuid = null; // When/Then: Should throw NdrException
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
throw new IOException(); } @Override public Appendable append(@Nullable CharSequence csq, int start, int end) throws IOException { throw new IOException(); } @Override public Appendable append(char c) throws IOException { throw new IOException(); } };
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/InvalidatableSet.java
import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.base.Supplier; import com.google.common.collect.ForwardingSet; import java.util.Set; /** * A subclass of `ForwardingSet` that throws `IllegalStateException` on invocation of any method * (except `hashCode` and `equals`) if the provided `Supplier` returns false. */ final class InvalidatableSet<E> extends ForwardingSet<E> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
} /** * Updates the dictionary file with the given input stream. * * @param in The input stream. * @throws IOException If an I/O error occurs. */ public synchronized void update(final InputStream in) throws IOException { try (KuromojiUpdater updater = new KuromojiUpdater(null)) { reload(updater, in); } } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
void finalize_logsWhenNotClosed() throws Throwable { when(cfg.isTraceResourceUsage()).thenReturn(true); // exercise backtrace branch stubValidTree(2L, true, true); SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 1, tree, "//host/share", 0, 0, 0, 0, 0L); // Calling finalize directly to execute the logic; should not throw h.finalize(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/StatementUtil.java
try { statement.setQueryTimeout(queryTimeout); } catch (final SQLException ex) { throw new SQLRuntimeException(ex); } } /** * Closes the {@link Statement}. * <p> * If {@link Statement#close()} throws an exception, an error message is logged. The exception is not rethrown. * </p> * * @param statement
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoResponse.java
} /** * {@inheritDoc} * * @throws SMBProtocolDecodingException * if the response data is malformed * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
* @param clientChallenge the client challenge bytes * @return the calculated response * @throws GeneralSecurityException if a cryptographic error occurs */ public static byte[] getNTLM2Response(final byte[] passwordHash, final byte[] serverChallenge, final byte[] clientChallenge) throws GeneralSecurityException { final byte[] sessionHash = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PythonJob.java
throw new JobProcessingException(out.toString()); } ComponentUtil.getPopularWordHelper().clearCache(); } catch (final JobProcessingException e) { throw e; } catch (final Exception e) { throw new JobProcessingException("Python Process terminated.", e); } finally {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.2K bytes - Viewed (0)