- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 148 for SmbException (0.22 seconds)
-
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
setResults(qr, new FileEntry[] { fe3 }); return qr; } else { // Third query: no more files throw new SmbException(NtStatus.NT_STATUS_NO_MORE_FILES, false); } } return null; }).when(tree).send(any(Request.class)); // Act: create iterator and enumerate
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.7K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java
package jcifs.dcerpc.msrpc; import java.io.IOException; import jcifs.dcerpc.DcerpcError; import jcifs.dcerpc.DcerpcException; import jcifs.dcerpc.DcerpcHandle; import jcifs.dcerpc.rpc; import jcifs.smb.SmbException; /** * Handle for Security Account Manager (SAM) policy operations. * This class represents an open handle to a SAM server and provides * high-level access to SAM database operations. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
} @Test @DisplayName("Textual constructor invalid format throws SmbException") void testTextualConstructorInvalid() { // Arrange String bad = "S-1"; // fewer than 3 tokens // Act + Assert SmbException ex = assertThrows(SmbException.class, () -> new SID(bad)); assertTrue(ex.getMessage().contains("Bad textual SID format")); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbOperationException.java
} private long extractNtStatus(Throwable cause) { if (cause instanceof SmbException) { return ((SmbException) cause).getNtStatus(); } return 0; } private String extractServerMessage(Throwable cause) { if (cause instanceof SmbException) { // Try to get server message from SMB exception return cause.getMessage(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbEndOfFileException.java
* * This exception is thrown during read operations when * attempting to read beyond the end of a file. * * @author mbechler */ public class SmbEndOfFileException extends SmbException { /** * */ private static final long serialVersionUID = 298752101881244000L; /** * Constructs an end-of-file exception. */ public SmbEndOfFileException() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
* Returns the signing key for SMB signing. * * @param challenge the server challenge bytes * @return the signing key * @throws SmbException if an error occurs generating the signing key */ public byte[] getSigningKey(final byte[] challenge) throws SmbException { switch (LM_COMPATIBILITY) { case 0: case 1: case 2: final byte[] signingKey = new byte[40];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 26.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbAuthException.java
* <p> * See <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for more information about <code>SmbAuthException</code>. */ public class SmbAuthException extends SmbException { SmbAuthException(final int errcode) { super(errcode, null); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/DfsReferral.java
* Thrown when a DFS referral is encountered during SMB operations. * * @author mbechler * * * <p>This class is intended for internal use.</p> */ public class DfsReferral extends SmbException { /** * */ private static final long serialVersionUID = 1486630733410281686L; /** The underlying DFS referral data */ private final DfsReferralData data; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
doReturn(mockTransport).when(poolSpy).getSmbTransport(eq(ctx), any(Address.class), anyInt(), eq(false), anyBoolean()); // When/Then: Should throw SmbException SmbException ex = assertThrows(SmbException.class, () -> poolSpy.getChallenge(ctx, address)); assertTrue(ex.getMessage().contains("Connection failed")); } @Test @DisplayName("Should perform logon to IPC$ share")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0) -
src/main/java/jcifs/SmbTransportPool.java
* specified by the <code>UniAddress</code> parameter. If the credentials are * not accepted, an <code>SmbAuthException</code> will be thrown. If an error * occurs an <code>SmbException</code> will be thrown. If the credentials are * valid, the method will return without throwing an exception. See the * last <a href="../../../faq.html">FAQ</a> question. * <p>
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.5K bytes - Click Count (0)