- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 91 for SmbException (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/SIDTest.java
* * @throws SmbException if the SID string is invalid */ @Test void testToDisplayStringUnresolved() throws SmbException { SID sid = new SID(adminSidString); assertEquals(adminSidString, sid.toDisplayString()); } /** * Test getting the domain SID. * * @throws SmbException if the SID string is invalid */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
void hasCapability_throws() throws SmbException { doThrow(new SmbException("capability check failed")).when(transport).hasCapability(eq(42)); SmbException ex = assertThrows(SmbException.class, () -> transport.hasCapability(42)); assertTrue(ex.getMessage().contains("failed")); verify(transport).hasCapability(42); } // Edge: disconnected status toggles
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (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 {
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/SmbSessionImpl.java
* Establish a tree connection with the configured logon share * * @throws SmbException */ @Override public void treeConnectLogon() throws SmbException { String logonShare = getContext().getConfig().getLogonShare(); if (logonShare == null || logonShare.isEmpty()) { throw new SmbException("Logon share is not defined"); }Created: 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/smb1/smb1/SmbFileFilterTest.java
@Override public boolean accept(SmbFile file) throws SmbException { if (file == null) { throw new SmbException("null file"); } return true; } }; assertThrows(SmbException.class, () -\u003e throwOnNull.accept(null)); } } @NestedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
// Simulate network name deleted error SmbException networkDeletedError = new SmbException(SmbException.NT_STATUS_NETWORK_NAME_DELETED, false); doThrow(networkDeletedError).when(session).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class)); // Execute and verify exception is thrown assertThrows(SmbException.class, () -> tree.send(request, response));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.2K bytes - Click Count (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 org.codelibs.jcifs.smb.SID; import org.codelibs.jcifs.smb.impl.SmbException; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInfo; public class SambaHelperTest extends UnitFessTestCase { public SambaHelper sambaHelper; @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java
*/ package jcifs.smb1.dcerpc.msrpc; import java.io.IOException; import jcifs.smb1.dcerpc.DcerpcHandle; import jcifs.smb1.dcerpc.rpc; import jcifs.smb1.smb1.SmbException; /** * LSA policy handle for Local Security Authority operations. */ public class LsaPolicyHandle extends rpc.policy_handle { DcerpcHandle handle; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0)