Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createNewFile (0.6 sec)

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

                    log.debug("Failed to close after failure", e2);
                    e.addSuppressed(e2);
                }
                throw e;
            }
        }
    
        @Override
        public void createNewFile() throws SmbException {
            if (this.fileLocator.isRootOrShare()) {
                throw new SmbException("Invalid operation for workgroups, servers, or shares");
            }
    
    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

         * existance of the file and it's creation are an atomic operation with
         * respect to other filesystem activities.
         * @throws SmbException if an error occurs while creating the file
         */
        public void createNewFile() throws SmbException {
            if (getUncPath0().length() == 1) {
                throw new SmbException("Invalid operation for workgroups, servers, or shares");
            }
    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