- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 3,054 for throws (0.04 sec)
-
src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java
} /** * Establish RDMA connection * * @throws IOException if connection fails */ public abstract void connect() throws IOException; /** * Send data using RDMA * * @param data data buffer to send * @param region registered memory region for the data * @throws IOException if send fails */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
when(mockDeferredBuffer.dec_ndr_long()).thenReturn(-1); // Invalid _name_buffers // When/Then: Should throw exception NdrException thrown = assertThrows(NdrException.class, () -> entry.decode(mockNdrBuffer)); assertEquals(NdrException.INVALID_CONFORMANCE, thrown.getMessage()); } } @Nested @DisplayName("SamrSamArray Tests") class SamrSamArrayTests {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
private MimeMap mimeMap; @BeforeEach void setUp() throws IOException { mimeMap = new MimeMap(); } @Nested @DisplayName("getMimeType with extension only") class GetMimeTypeWithExtension { @Test @DisplayName("Should return correct mime type for known extensions") void testKnownExtensions() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
void parseSetsMechanismToken() throws IOException { TestSpnegoToken t = new TestSpnegoToken(); byte[] raw = new byte[] { 5, 6 }; t.parse(raw); assertTrue(t.isParsed(), "parse should mark parsed"); assertArrayEquals(raw, t.getMechanismToken(), "parse should set mechanismToken"); } @Test @DisplayName("parse throws IOException on null input") void parseThrowsOnNull() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
* @throws Exception if unable to load the result * @throws InterruptedException if this method is interrupted. {@code InterruptedException} is * treated like any other {@code Exception} in all respects except that, when it is caught, * the thread's interrupt status is set */ public abstract V load(K key) throws Exception; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
} @Test void testConstructor() throws SmbException { assertNotNull(smbRandomAccessFile); assertEquals(0, smbRandomAccessFile.getFilePointer()); } @Test void testGetFilePointer() throws SmbException { assertEquals(0, smbRandomAccessFile.getFilePointer()); } @Test void testSeek() throws SmbException { long newPosition = 100L;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerTest.java
return true; } @Override public void process(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws IOException, ServletException { throw new ServletException("Test error"); } } private static class StatusCodeWebApiManager implements WebApiManager { private final int statusCode;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } /** * Test constructor with a valid login context. * * @throws LoginException if login fails. */ @Test void testConstructor_Success() throws LoginException { try (MockedConstruction<LoginContext> mocked = Mockito.mockConstruction(LoginContext.class, (mock, context) -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ClosingFuture.java
* * @throws ExecutionException if {@code closingFuture} is a failed step * @throws CancellationException if the {@code closingFuture}'s future was cancelled * @throws IllegalArgumentException if {@code closingFuture} is not one of the futures passed to * {@link #whenAllComplete(Iterable)} or {@link #whenAllComplete(Iterable)}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 98.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
* @param chain the filter chain to continue processing * @throws IOException if an I/O error occurs during processing * @throws ServletException if a servlet error occurs */ @Override public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain) throws IOException, ServletException {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0)