- Sort Score
- Result 10 results
- Languages All
Results 1621 - 1630 of 1,812 for rethrow (0.04 sec)
-
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
bb.putShort((short) 0); // tflags high bytes // Invalid referral version bb.putShort((short) 99); // unsupported version // Should throw exception for unsupported version assertThrows(Exception.class, () -> { buffer.decode(testBuffer, 0, testBuffer.length); }); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
void testInsufficientBufferLength() { FileFsSizeInformation info = new FileFsSizeInformation(); byte[] buffer = new byte[10]; // Too small // Should throw ArrayIndexOutOfBoundsException for insufficient buffer assertThrows(ArrayIndexOutOfBoundsException.class, () -> { info.decode(buffer, 0, buffer.length); }); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
*/ @Test public void testValidNegotiateResponse() throws SMBProtocolDecodingException { byte[] validBuffer = createValidNegotiateResponseBuffer(); // Should not throw any exception int bytesRead = response.readBytesWireFormat(validBuffer, 0); assertTrue(bytesRead > 0); assertEquals(0x0302, response.getDialectRevision()); // SMB 3.0.2
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
callback.store(params, data); callback.store(params, data); assertEquals(3L, callback.getDocumentSize()); assertEquals(300L, callback.getExecuteTime()); // Test commit (should not throw exception) callback.commit(); } public void test_multiple_implementations() { // Test with different implementations to ensure interface contract
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java
badWordService.importCsv(reader); suggestHelper.storeAllBadWords(false); } catch (final Exception e) { throw new FessSystemException("Failed to import data.", e); } }); return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result()); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java
public abstract ImmutableBiMap<V, K> inverse(); @Override public ImmutableSet<V> values() { return inverse().keySet(); } public final @Nullable V forcePut(K key, V value) { throw new UnsupportedOperationException(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
// Test engineDigest with buffer too small HMACT64 hmac = new HMACT64(TEST_KEY); hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length); byte[] buffer = new byte[10]; // Should throw exception when buffer is too small assertThrows(IllegalStateException.class, () -> hmac.engineDigest(buffer, 0, 10)); } @Test void testClone() { // Test clone() method
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
assertEquals(64, newHash.length); // SHA-512 produces 64 bytes assertNotEquals(oldHash, newHash); // Should be different instance } /** * Test pre-auth integrity with non-SMB3.1.1 should throw exception */ @Test @DisplayName("Pre-auth integrity should fail with non-SMB3.1.1") void testPreauthWithNonSmb311() throws Exception { // Setup SMB3.0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
// Check if transport creation failed if (newTransport == null) { throw new IOException("Failed to create new transport"); } // Reconnect channel.setState(ChannelState.CONNECTING);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
artifact.setFile(localFile); if (!localFile.exists()) { if (request.getRemoteRepositories().isEmpty()) { throw new IOException(localFile + " does not exist and no remote repositories are configured"); } ArtifactRepository remoteRepo = request.getRemoteRepositories().get(0);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 12K bytes - Viewed (0)