- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 92 for CIFSException (0.09 sec)
-
src/main/java/jcifs/CIFSException.java
* * @author mbechler * */ public class CIFSException extends IOException { /** * */ private static final long serialVersionUID = 7806460518865806784L; /** * Constructs a CIFS exception with no detail message. */ public CIFSException() { } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/CIFSExceptionTest.java
/** * Test class for CIFSException functionality */ @DisplayName("CIFSException Tests") class CIFSExceptionTest extends BaseTest { @Test @DisplayName("Should create CIFSException with message") void testCIFSExceptionWithMessage() { // Given String message = "CIFS operation failed"; // When CIFSException exception = new CIFSException(message);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SSPContext.java
* @return MIC * @throws CIFSException if an error occurs calculating the MIC */ byte[] calculateMIC(byte[] data) throws CIFSException; /** * Verifies a Message Integrity Code (MIC) for the given data. * @param data the data to verify * @param mic the MIC to verify against * @throws CIFSException if the MIC verification fails or an error occurs */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
* Sets up the test environment before each test. * Initializes a mock {@link SmbPipeResource} and a mock implementation of {@link SmbPipeHandle}. * @throws CIFSException if an error occurs during setup. */ @BeforeEach public void setUp() throws CIFSException { mockPipeResource = mock(SmbPipeResource.class); mockSmbPipeHandleInternal = mock(SmbPipeHandleInternal.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
} // Error path: overlaps may throw a CIFSException per signature @Test @DisplayName("overlaps throws CIFSException when implementation fails") void overlapsThrowsCifsException() throws Exception { when(locator.overlaps(any())).thenThrow(new CIFSException("Simulated failure")); CIFSException ex = assertThrows(CIFSException.class, () -> locator.overlaps(other));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/SmbTreeHandle.java
/** * Gets the OEM domain name reported by the server * @return server reported domain name * @throws CIFSException if an error occurs retrieving the domain name */ String getOEMDomainName() throws CIFSException; /** * Gets the name of the share this tree is connected to * @return the share we are connected to */ String getConnectedShare();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
* Test for getOEMDomainName() method throwing CIFSException. * @throws CIFSException */ @Test void testGetOEMDomainName_throwsCIFSException() throws CIFSException { when(smbTreeHandle.getOEMDomainName()).thenThrow(new CIFSException("Test Exception")); assertThrows(CIFSException.class, () -> smbTreeHandle.getOEMDomainName(), "getOEMDomainName() should throw CIFSException"); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbWatchHandle.java
* * @return changes since the last invocation * @throws CIFSException if an error occurs retrieving file notifications */ List<FileNotifyInformation> watch() throws CIFSException; /** * {@inheritDoc} * * @see java.util.concurrent.Callable#call() */ @Override List<FileNotifyInformation> call() throws CIFSException; /** * {@inheritDoc} *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleInternal.java
*/ int getReceiveBufferSize() throws CIFSException; /** * Gets the maximum buffer size supported by the server * @return the maximum buffer size reported by the server * @throws CIFSException if an error occurs retrieving the buffer size */ int getMaximumBufferSize() throws CIFSException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
@Test @DisplayName("ensureDFSResolved(): throws CIFSException when underlying call fails") void ensureDFSResolved_throws() throws Exception { // Arrange: configure the mock to throw doThrow(new CIFSException("DFS resolution failed")).when(handle).ensureDFSResolved(); // Act + Assert: exception is propagated with message CIFSException ex = assertThrows(CIFSException.class, () -> handle.ensureDFSResolved());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0)