Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SmbException (0.05 sec)

  1. src/main/java/jcifs/smb/SmbFile.java

            if (this.fileLocator.isRootOrShare()) {
                throw new SmbException("Invalid operation for workgroups, servers, or shares");
            }
    
            try {
                setPathInformation(0, 0L, 0L, time);
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        @Override
        public int getAttributes() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

         *
         * @throws SmbException if an error occurs while deleting the file or directory
         */
        public void delete() throws SmbException {
            exists();
            getUncPath0();
            delete(unc);
        }
    
        void delete(final String fileName) throws SmbException {
            if (getUncPath0().length() == 1) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top