- Sort Score
- Result 10 results
- Languages All
Results 681 - 690 of 2,976 for throwIt (0.05 sec)
-
src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java
return 0; } @Override int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException { if (in.read(buffer, bufferIndex, this.length) != this.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.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java
public byte[] getName() { return CONTEXT_NAME_BYTES; } @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { // Reconnect response has no data - length should be 0 if (len != 0) { throw new SMBProtocolDecodingException("Invalid durable handle reconnect response length: " + len); } // No data to decode return 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt
e: IOException, ) { latch.countDown() } @Throws(IOException::class) override fun onResponse( call: Call, response: Response, ) { try { Thread.sleep(500) } catch (e: InterruptedException) { throw AssertionError() } assertFailsWith<IOException> {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 10.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
* * @param uri the URI to preprocess * @return the preprocessed URI * @throws CrawlerSystemException if the URI is empty */ protected String preprocessUri(final String uri) { if (StringUtil.isEmpty(uri)) { throw new CrawlerSystemException("The uri is empty."); } return uri; } /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 23K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
private ScriptEngineFactory scriptEngineFactory; @Override public void setUp() throws Exception { super.setUp(); scriptEngineFactory = new ScriptEngineFactory(); } @Override public void tearDown() throws Exception { super.tearDown(); } // Test constructor public void test_constructor() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
// Arrange String msg = "downgrade not allowed"; // Act & Assert - verify thrown type and message SMBProtocolDowngradeException thrown = assertThrows(SMBProtocolDowngradeException.class, () -> { throw new SMBProtocolDowngradeException(msg); }); assertEquals(msg, thrown.getMessage()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
void testConstructorWithNullFileId() { // Should not throw exception Smb2FlushRequest requestWithNull = new Smb2FlushRequest(mockConfig, null); assertNotNull(requestWithNull); } @Test @DisplayName("setFileId should update file ID") void testSetFileId() throws Exception { byte[] newFileId = new byte[16]; Arrays.fill(newFileId, (byte) 0xFF);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K 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) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
@Override public Integer call() throws Exception { runLatch.countDown(); taskLatch.await(); if (throwException) { throw new IllegalStateException("Fail"); } return 25; } }); @Override protected void setUp() throws Exception { super.setUp(); exec = newCachedThreadPool();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/query/StoredLtrQueryBuilder.java
} printBoostAndQueryName(builder); builder.endObject(); } @Override protected Query doToQuery(final QueryShardContext context) throws IOException { throw new UnsupportedOperationException("Query processing is not supported."); } @Override protected boolean doEquals(final StoredLtrQueryBuilder other) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.6K bytes - Viewed (0)