- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for IllegalStateException (0.18 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Tue Sep 23 06:42:59 UTC 2025 - 31.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
try { nullContainerFactory.create(); fail("Should throw IllegalStateException for null container"); } catch (IllegalStateException e) { assertTrue(e.getMessage().contains("crawlerContainer")); } catch (Exception e) { fail("Expected IllegalStateException but got: " + e.getClass().getName()); } } /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 13:07:01 UTC 2025 - 36.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
// Close the authenticator auth.close(); // All these operations should throw IllegalStateException assertThrows(IllegalStateException.class, () -> auth.getPassword()); assertThrows(IllegalStateException.class, () -> auth.getPasswordAsCharArray()); assertThrows(IllegalStateException.class, () -> { // This would normally be called during authenticationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/HMACT64.java
ipad[i] = IPAD; opad[i] = OPAD; } try { md5 = MessageDigest.getInstance("MD5"); } catch (final Exception ex) { throw new IllegalStateException(ex.getMessage()); } engineReset(); } private HMACT64(final HMACT64 hmac) throws CloneNotSupportedException { super("HMACT64"); this.ipad = hmac.ipad;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResultTest.java
result.addFailure(new Exception("Exception")); result.addFailure(new RuntimeException("RuntimeException")); result.addFailure(new IllegalStateException("IllegalStateException")); result.addFailure(new NullPointerException("NullPointerException")); assertEquals(4, result.getFailures().size()); assertTrue(result.getFailures().get(0) instanceof Exception);Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Thu Nov 13 00:40:54 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
// Test exception handling behavior try { throw new RuntimeCIFSException("Original message", new IllegalStateException("Cause")); } catch (RuntimeCIFSException e) { assertEquals("Original message", e.getMessage()); assertTrue(e.getCause() instanceof IllegalStateException); assertEquals("Cause", e.getCause().getMessage()); } } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
* Gets a buffer from the cache or creates a new one if the cache is empty. * * Performance: O(1) operation using concurrent queue * * @return a byte buffer for SMB operations * @throws IllegalStateException if buffer size exceeds maximum allowed */ static public byte[] getBuffer() { // Try to get from cache first - O(1) operation byte[] buf = bufferQueue.poll(); if (buf != null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
// Operations should fail after destroy assertThrows(IllegalStateException.class, () -> { storage.encryptCredentials(plaintext); }, "Should throw IllegalStateException after destroy"); assertThrows(IllegalStateException.class, () -> { storage.decryptCredentials(encrypted); }, "Should throw IllegalStateException after destroy"); // Clean upRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/util/HMACT64.java
} @Override public Object clone() { try { return new HMACT64(this); } catch (final CloneNotSupportedException ex) { throw new IllegalStateException(ex.getMessage()); } } @Override protected byte[] engineDigest() { final byte[] digest = this.md5.digest(); this.md5.update(this.opad);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0)