- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 2,976 for throwIt (0.04 sec)
-
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java
* @return the filesystem info cast to the specified type * @throws CIFSException if the information cannot be cast to the specified type */ @SuppressWarnings("unchecked") public <T extends FileSystemInformation> T getInfo(final Class<T> clazz) throws CIFSException { if (!clazz.isAssignableFrom(this.info.getClass())) { throw new CIFSException("Incompatible file information class"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/pac/Pac.java
* @param data the raw PAC data bytes * @param keys map of Kerberos keys for signature validation * @throws PACDecodingException if the PAC data is malformed or signature validation fails */ public Pac(byte[] data, Map<Integer, KerberosKey> keys) throws PACDecodingException { byte[] checksumData = data.clone(); try {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
when(mockRequest.getTreeId()).thenReturn(123); // Should throw NoAvailableChannelException when no healthy channels assertThrows(ChannelLoadBalancer.NoAvailableChannelException.class, () -> loadBalancer.selectChannel(mockRequest), "Should throw exception when no healthy channels available"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
* * @param key the feature key * @param value the feature value * @throws CrawlerSystemException if key or value is null */ public void addFeature(final String key, final String value) { if (StringUtil.isBlank(key) || StringUtil.isBlank(value)) { throw new CrawlerSystemException("key or value is null."); } featureMap.put(key, value); }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 28.5K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
keyManager.storeSessionKey("session", testKey, "AES"); keyManager.close(); keyManager.close(); // Should not throw assertEquals(0, keyManager.getKeyCount(), "Should have no keys after close"); } @Test public void testAutoCloseable() throws Exception { try (SecureKeyManager manager = new SecureKeyManager()) { manager.storeSessionKey("auto-session", testKey, "AES");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
assertTrue(bytesWritten > 68); // Should be larger due to scope } @Test @DisplayName("readTrailerWireFormat should read complete packet data") void testReadTrailerWireFormatSuccess() throws IOException { SessionRequestPacket writePacket = new SessionRequestPacket(mockConfig, new TestNetbiosName("SERVER", 0x20, null), new TestNetbiosName("CLIENT", 0x00, null));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java
* errors by throwing an {@link Exception}. Error conditions should provide * sufficient detail to aid troubleshooting.</p> * * @throws Exception if any issue occurs that prevents the successful execution * of the Mojo */ void execute() throws Exception;Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 29 08:21:00 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
fail("Should throw IllegalArgumentException"); } catch (IllegalArgumentException e) { assertEquals("name or dataStore is null.", e.getMessage()); } } // Test add method with both null parameters public void test_add_bothNull() { try { dataStoreFactory.add(null, null); fail("Should throw IllegalArgumentException");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java
* * @param defaultEncoding the default encoding to set * @throws IllegalArgumentException if the default encoding is blank */ public void setDefaultEncoding(final String defaultEncoding) { if (StringUtil.isBlank(defaultEncoding)) { throw new IllegalArgumentException("Default encoding must not be blank."); } this.defaultEncoding = defaultEncoding;Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
@DisplayName("Constructor: invalid mode throws IllegalArgumentException") void constructor_invalidMode_throws() { SmbFile file = mock(SmbFile.class); assertThrows(IllegalArgumentException.class, () -> new SmbRandomAccessFile(file, "badmode")); } @Test @DisplayName("open(): acquires and releases handle (no I/O)") void open_acquiresAndReleasesHandle() throws Exception {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)