- Sort Score
- Result 10 results
- Languages All
Results 651 - 660 of 2,976 for throwIt (0.07 sec)
-
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
@Override public byte getFileSystemInformationClass() { return informationClass; } @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { return 0; } } @Nested @DisplayName("Interface Constants Tests") class InterfaceConstantsTests { @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize == 9) { return this.readErrorResponse(buffer, bufferIndex); } if (structureSize != 17) { throw new SMBProtocolDecodingException("Expected structureSize = 17");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
this.shouldSucceed = shouldSucceed; } @Override protected boolean performReconnection(HandleInfo info) throws Exception { if (shouldSucceed) { return true; } else { throw new IOException("Simulated reconnection failure"); } } public void testCreateReconnectionRequest(HandleInfo handle) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
* * <p>The default implementation throws {@code NoSuchElementException}. * * @return the minimum value of type {@code C}; never null * @throws NoSuchElementException if the type has no (practical) minimum value; for example, * {@link java.math.BigInteger} */ @CanIgnoreReturnValue public C minValue() { throw new NoSuchElementException(); } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 10.4K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/RtmSession.java
/** Guarded by this. */ private WebSocket webSocket; public RtmSession(SlackApi slackApi) { this.slackApi = slackApi; } public void open(String accessToken) throws IOException { if (webSocket != null) throw new IllegalStateException(); RtmStartResponse rtmStartResponse = slackApi.rtmStart(accessToken); webSocket = slackApi.rtm(rtmStartResponse.url, this); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Nov 19 20:16:58 UTC 2016 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
/** * Verifies that the close method can be called without throwing an exception. * @throws CIFSException if an error occurs during close. */ @Test public void testClose() throws CIFSException { assertDoesNotThrow(() -> smbPipeHandle.close(), "close() should not throw an exception on a mock object."); // Verify that the close method was calledRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
* @param response The HTTP response. * @param chain The filter chain. * @throws IOException If an I/O error occurs. * @throws ServletException If a servlet error occurs. */ protected void processSuggestRequest(final HttpServletRequest request, final HttpServletResponse response, final FilterChain chain) throws IOException, ServletException { if (!acceptHttpMethod(request, GET)) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 54.6K bytes - Viewed (1) -
src/test/java/jcifs/smb/SIDTest.java
assertEquals("alice", sid.getAccountName()); } @Test @DisplayName("unwrap returns this for assignable type; otherwise throws ClassCastException") void testUnwrap() throws Exception { SID sid = new SID("S-1-5-21-1"); // Happy path assertSame(sid, sid.unwrap(SID.class)); assertSame(sid, sid.unwrap(Object.class));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
byte[] copiedData = Arrays.copyOfRange(outputBuffer, 0, dataLength); assertArrayEquals(testData, copiedData); } @Test @DisplayName("Should throw exception when output buffer too small") void testReadBytesWireFormatBufferTooSmall() throws Exception { // Given byte[] smallOutputBuffer = new byte[10]; Smb2ReadResponse smallBufferResponse = new Smb2ReadResponse(mockConfig, smallOutputBuffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
} @Test void testReadDataWireFormatZeroLength() throws SMBProtocolDecodingException { // Test with zero-length data byte[] buffer = new byte[100]; int result = response.readDataWireFormat(buffer, 50, 0); assertEquals(0, result); } @Test void testReadDataWireFormatAtBufferBoundary() throws SMBProtocolDecodingException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0)