- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 150 for SmbException (0.08 sec)
-
src/main/java/jcifs/smb/SmbTreeImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/SmbRandomAccess.java
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/main/java/jcifs/util/PathValidator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
} @Test void testListFilesOnNonDirectory() throws SmbException { // Arrange doReturn(false).when(smbFile).isDirectory(); doThrow(new SmbException("Not a directory")).when(smbFile).listFiles(); // Act & Assert assertThrows(SmbException.class, () -> smbFile.listFiles()); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
void treeConnectLogon_happy() throws SmbException { // doNothing by default session.treeConnectLogon(); verify(session, times(1)).treeConnectLogon(); } // Error propagation: connect to logon share throws SmbException @Test @DisplayName("treeConnectLogon throws SmbException when underlying call fails") void treeConnectLogon_throws() throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
} }; SmbException ex2 = assertThrows(SmbException.class, () -> c2.connectWrapException(loc)); assertTrue(ex2.getMessage().contains("Failed to connect to server")); SmbTreeConnection c3 = new SmbTreeConnection(ctx) { @Override public SmbTreeHandleImpl connect(SmbResourceLocatorImpl loc) throws SmbException { throw new SmbException("boom");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.ComponentUtil; import jcifs.SID; import jcifs.smb.SmbException; public class SambaHelperTest extends UnitFessTestCase { public SambaHelper sambaHelper; @Override public void setUp() throws Exception { super.setUp();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
FileEntry[] entries; if (u.getPath().lastIndexOf('/') != u.getPath().length() - 1) { throw new SmbException(u.toString() + " directory must end with '/'"); } if (locator.getType() != SmbConstants.TYPE_SERVER) { throw new SmbException("The requested list operations is invalid: " + u.toString()); } final Set<FileEntry> set = new HashSet<>();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
} /** * Converts an SmbException to an IOException. * * @param se the SmbException to convert * @return the resulting IOException */ protected IOException seToIoe(final SmbException se) { IOException ioe = se; Throwable root = se.getRootCause(); if (root instanceof TransportException) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0)