Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for FileException (0.28 sec)

  1. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileException.java

     * limitations under the License.
     */
    
    package org.gradle.internal.file;
    
    public class FileException extends RuntimeException {
        public FileException(Throwable cause) {
            super(cause);
        }
    
        public FileException(String message, Throwable cause) {
            super(message, cause);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 878 bytes
    - Viewed (0)
  2. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/GenericFileSystem.java

            try {
                return stat.getUnixMode(f);
            } catch (Exception e) {
                throw new FileException(String.format("Could not get file mode for '%s'.", f), e);
            }
        }
    
        @Override
        public FileMetadata stat(File f) throws FileException {
            statisticsCollector.reportFileStated();
            return metadata.stat(f);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache-packaging/src/main/java/org/gradle/caching/internal/packaging/impl/FilePermissionAccess.java

     */
    
    package org.gradle.caching.internal.packaging.impl;
    
    import org.gradle.internal.file.FileException;
    
    import java.io.File;
    
    public interface FilePermissionAccess {
    
        int getUnixMode(File f) throws FileException;
    
        void chmod(File file, int mode) throws FileException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 892 bytes
    - Viewed (0)
  4. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/services/GenericFileSystemTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.nativeintegration.filesystem.services
    
    import org.gradle.api.internal.file.TestFiles
    import org.gradle.internal.file.FileException
    import org.gradle.internal.file.FileMetadataAccessor
    import org.gradle.internal.file.FileModeAccessor
    import org.gradle.internal.file.FileModeMutator
    import org.gradle.internal.file.StatStatistics
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/impl/FileZipInput.java

        /**
         * Creates a stream of the entries in the given zip file. Caller is responsible for closing the return value.
         *
         * @throws FileException on failure to open the Zip
         */
        public static ZipInput create(File file) throws FileException {
            if (isZipFileSafeToUse()) {
                return new FileZipInput(file);
            } else {
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/Jdk7FileCanonicalizer.java

    import org.gradle.internal.file.FileCanonicalizer;
    import org.gradle.internal.file.FileException;
    
    import java.io.File;
    import java.io.IOException;
    
    // Used via FQCN
    @SuppressWarnings("unused")
    public class Jdk7FileCanonicalizer implements FileCanonicalizer {
        @SuppressWarnings("Since15")
        @Override
        public File canonicalize(File file) throws FileException {
            try {
                return file.toPath().toRealPath().toFile();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/Chmod.java

         *
         * @param file the file to change permissions on
         * @param mode the permissions, e.g. 0755
         * @throws FileException if the permissions can't be changed for some reason.
         */
        void chmod(File file, int mode) throws FileException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/FallbackFileCanonicalizer.java

    import org.gradle.internal.file.FileException;
    
    import java.io.File;
    import java.io.IOException;
    
    class FallbackFileCanonicalizer implements FileCanonicalizer {
        @Override
        public File canonicalize(File file) throws FileException {
            try {
                return file.getCanonicalFile();
            } catch (IOException e) {
                throw new FileException(String.format("Could not canonicalize file %s.", file), e);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/Stat.java

     * limitations under the License.
     */
    
    package org.gradle.internal.file;
    
    import java.io.File;
    
    public interface Stat {
        int getUnixMode(File f) throws FileException;
    
        FileMetadata stat(File f) throws FileException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 803 bytes
    - Viewed (0)
  10. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/FileSystem.java

        /**
         * Creates a symbolic link to a target file.
         *
         * @param link the link to be created
         * @param target the file to link to
         * @exception FileException if the operation fails
         */
        void createSymbolicLink(File link, File target) throws FileException;
    
        /**
         * Tells if the file is a symlink
         *
         * @param suspect the file to check
         * @return true if symlink, false otherwise
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top