Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SmbException (0.06 sec)

  1. 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");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

        }
    
        @Override
        public boolean hasCapability(final int cap) throws SmbException {
            return getNegotiateResponse().haveCapabilitiy(cap);
        }
    
        /**
         * @return the negotiated
         * @throws SmbException
         */
        SmbNegotiationResponse getNegotiateResponse() throws SmbException {
            try {
                if (this.negotiated == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertFalse(file.exists(), "Non-existent file should not exist");
            assertThrows(SmbException.class, () -> file.length(), "Getting length of non-existent file should throw exception");
            assertThrows(SmbException.class, () -> file.getInputStream(), "Getting input stream of non-existent file should throw exception");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top