- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 168 for CIFSException (0.33 seconds)
-
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
// If it doesn't throw, that's unexpected for localhost fail("Expected CIFSException for localhost multi-channel attempt"); } catch (java.lang.reflect.InvocationTargetException e) { // We expect this to fail, but it should be a CIFSException, not a NullPointerException assertTrue(e.getCause() instanceof CIFSException);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 4K bytes - Click Count (0) -
src/main/java/jcifs/SmbTransportPool.java
/** * Closes the pool and all connections in it * * @return whether any transport was still in use * * @throws CIFSException if an error occurs during authentication * */ boolean close() throws CIFSException; /** * Authenticate arbitrary credentials represented by the * <code>NtlmPasswordAuthentication</code> object against the domain controllerCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
} /** * Test that NbtException can be caught as a CIFSException. */ @Test @DisplayName("NbtException should be catchable as CIFSException") void testCatchableAsCIFSException() { try { throw new NbtException(NbtException.ERR_NAM_SRVC, NbtException.FMT_ERR); } catch (CIFSException e) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
@Test @DisplayName("Should handle exception during close") void testClosePoolException() throws CIFSException { // Given when(transportPool.close()).thenThrow(new CIFSException("Close failed")); // When & Then assertThrows(CIFSException.class, () -> transportPool.close()); } @Test @DisplayName("Should close pool multiple times")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/main/java/jcifs/SmbFileHandle.java
* @param lastWriteTime the last write time to set, or 0 to leave unchanged * @throws CIFSException if an error occurs while closing the file */ void close(long lastWriteTime) throws CIFSException; /** * {@inheritDoc} * * @see java.lang.AutoCloseable#close() */ @Override void close() throws CIFSException; /** * Releases this file handle without closing it *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
}); } catch (CIFSException e) { // Expected } } assertEquals(State.OPEN, circuitBreaker.getState(), "Circuit should be OPEN"); // Try to execute - should be blocked with CIFSException CIFSException exception = assertThrows(CIFSException.class, () -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
} } /** * @return the sessionKey * @throws CIFSException */ @Override public byte[] getSessionKey() throws CIFSException { if (this.sessionKey == null) { throw new CIFSException("No session key available"); } return this.sessionKey; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
} // Error propagation: getSessionKey throws CIFSException @Test @DisplayName("getSessionKey throws CIFSException on failure") void getSessionKey_throws() throws CIFSException { doThrow(new CIFSException("session key failure")).when(session).getSessionKey(); CIFSException ex = assertThrows(CIFSException.class, () -> session.getSessionKey());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 13.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
* @return the created context * @throws CIFSException if initialization fails */ public PreauthIntegrityContext initializeSession(String sessionId, byte[] salt, int hashAlgorithm) throws CIFSException { if (sessionId == null || sessionId.isEmpty()) { throw new CIFSException("Session ID cannot be null or empty"); } if (salt == null || salt.length < 16) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 12.1K bytes - Click Count (0)