- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for SmbUnsupportedOperationException (0.18 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/smb/SmbUnsupportedOperationException.java
* * @author mbechler * */ public class SmbUnsupportedOperationException extends SmbException { /** * */ private static final long serialVersionUID = -5576981906065713710L; /** * Constructs a new SmbUnsupportedOperationException with a default message */ public SmbUnsupportedOperationException() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
@DisplayName("assertThrows captures and exposes the default message") void assertThrows_capturesDefaultMessage() { // Act & Assert SmbUnsupportedOperationException ex = assertThrows(SmbUnsupportedOperationException.class, () -> { throw new SmbUnsupportedOperationException(); }); assertEquals("Operation is not supported with the negotiated capabilities", ex.getMessage()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null); // Using an uppercase short name (no dot) must throw an unsupported operation SmbUnsupportedOperationException ex = assertThrows(SmbUnsupportedOperationException.class, () -> auth.createContext(tc, null, "SERVER", new byte[0], false)); assertTrue(ex.getMessage().contains("Cannot use netbios/short names")); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
// Act + Assert: doEnum throws SmbUnsupportedOperationException which is returned as-is SmbUnsupportedOperationException ex = assertThrows(SmbUnsupportedOperationException.class, () -> SmbEnumerationUtil.list(parent, "*", 0, null, null)); // SmbUnsupportedOperationException is directly thrown, not wrapped assertNotNull(ex); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
verify(handle, never()).markClosed(); verify(tree, never()).hasCapability(anyInt()); // not checked on SMB2 } // SMB1 path: without CAP_NT_SMBS it should throw SmbUnsupportedOperationException @Test @DisplayName("watch() SMB1 without capability throws unsupported") void watch_smb1_noCapability_throwsUnsupported() throws Exception { when(handle.isValid()).thenReturn(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
throw new SmbUnsupportedOperationException(); } throw e; } try (SmbFile browser = (SmbFile) parent.resolve(addr.getHostAddress())) { try (SmbTreeHandleImpl th = browser.ensureTreeConnected()) { if (th.isSMB2()) { throw new SmbUnsupportedOperationException(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmContext.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
src/main/java/jcifs/smb/SmbCopyUtil.java
if (sh.isSMB2() && dh.isSMB2() && sh.isSameTree(dh)) { try { serverSideCopy(src, dest, sh, dh, false); return; } catch (final SmbUnsupportedOperationException e) { log.debug("Server side copy not supported, falling back to normal copying", e); } catch (final CIFSException e) { log.warn("Server side copy failed", e);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
if (!this.smb2 || this.negotiated == null) { throw new SmbUnsupportedOperationException(); } final Smb2NegotiateResponse resp = (Smb2NegotiateResponse) this.negotiated; if (!resp.getSelectedDialect().atLeast(DialectVersion.SMB311)) { throw new SmbUnsupportedOperationException(); } MessageDigest dgst = switch (resp.getSelectedPreauthHash()) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
*/ private void checkStatus() throws SmbException { final int status = this.response.getStatus(); if (status == WinError.ERROR_SERVICE_NOT_INSTALLED) { throw new SmbUnsupportedOperationException(); } if (status != WinError.ERROR_SUCCESS && status != WinError.ERROR_MORE_DATA) { throw new SmbException(status, true); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.5K bytes - Click Count (0)