Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 150 for SmbException (0.09 sec)

  1. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

     */
    
    package jcifs.dcerpc.msrpc;
    
    import java.io.IOException;
    
    import jcifs.dcerpc.DcerpcHandle;
    import jcifs.dcerpc.rpc;
    import jcifs.smb.SmbException;
    
    /**
     * Handle for Security Account Manager (SAM) alias operations.
     * This class represents an open handle to a SAM alias and provides
     * operations for managing alias membership and properties.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NetServerEnumIterator.java

            checkStatus();
            final FileEntry n = advance();
            if (n == null) {
                doClose();
            }
            return n;
        }
    
        /**
         * @throws SmbException
         */
        private void checkStatus() throws SmbException {
            final int status = this.response.getStatus();
            if (status == WinError.ERROR_SERVICE_NOT_INSTALLED) {
                throw new SmbUnsupportedOperationException();
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

         * @return decoded data
         * @throws SmbException if decoding fails or the response type is incompatible
         */
        @SuppressWarnings("unchecked")
        public <T extends Decodable> T getOutputData(final Class<T> responseType) throws SmbException {
    
            final Decodable out = getOutputData();
    
            if (out == null) {
                throw new SmbException("Failed to decode output data");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SpnegoContext.java

                    if (found == null) {
                        throw new SmbException("Server does advertise any supported mechanism");
                    }
                }
            } else if (spToken instanceof final NegTokenTarg targ) {
                if (this.firstResponse) {
                    if (!this.mechContext.isSupported(targ.getMechanism())) {
                        throw new SmbException("Server chose an unsupported mechanism " + targ.getMechanism());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            // After closing the handle, further calls throw
            target.close();
            CIFSException e1 = assertThrows(SmbException.class, target::getInput);
            assertTrue(e1.getMessage().contains("Already closed"));
            CIFSException e2 = assertThrows(SmbException.class, target::getOutput);
            assertTrue(e2.getMessage().contains("Already closed"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeInternal.java

        /**
         * Connects and performs logon to the tree using the specified context
         * @param tf the CIFS context to use for connection
         * @throws SmbException if an SMB error occurs during connection
         */
        @Deprecated
        void connectLogon(CIFSContext tf) throws SmbException;
    
        /**
         * Sends an SMB request and returns the response
         * @param <T> the response type
         * @param request the request to send
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmHttpFilter.java

                    }
                }
                return new NtlmChallenge(trans.getServerEncryptionKey(), dc);
            } catch (final SmbException e) {
                throw e;
            } catch (final IOException e) {
                throw new SmbException("Connection failed", e);
            }
        }
    
        /**
         * @return
         */
        private CIFSContext getTransportContext() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/Kerb5ContextTest.java

            }
    
            @Test
            @DisplayName("dispose wraps GSSException into SmbException")
            void dispose_failure_wraps() throws Exception {
                doThrow(new GSSException(GSSException.FAILURE)).when(gssContext).dispose();
                SmbException ex = assertThrows(SmbException.class, () -> ctx.dispose());
                assertTrue(ex.getMessage().contains("Context disposal failed"));
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFilenameFilter.java

         * @param name the name of the file
         * @return true if the file should be included, false otherwise
         * @throws SmbException if an SMB error occurs during evaluation
         */
        boolean accept(SmbFile dir, String name) throws SmbException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileOutputStream.java

         * the smb URL syntax.
         *
         * @param file
         *            An <code>SmbFile</code> specifying the file to write to
         * @throws SmbException if an SMB error occurs
         */
        public SmbFileOutputStream(final SmbFile file) throws SmbException {
            this(file, false);
        }
    
        /**
         * Creates an {@link java.io.OutputStream} for writing bytes to a file
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top