Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 150 for throwAsUncheckedException (0.53 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultConditionalExecutionQueue.java

                        try {
                            workAvailable.await();
                        } catch (InterruptedException e) {
                            throw UncheckedException.throwAsUncheckedException(e);
                        }
                    }
    
                } finally {
                    lock.unlock();
                }
    
                return getReadyExecution();
            }
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/AbstractArtifactRepository.java

            return new InstantiatingAction<>(DefaultConfigurableRules.of(rule), instantiator, (target, throwable) -> {
                throw UncheckedException.throwAsUncheckedException(throwable);
            });
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/fingerprint/impl/PatternSetSnapshottingFilter.java

            @Override
            public InputStream open() {
                try {
                    return Files.newInputStream(path);
                } catch (IOException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            }
    
            @Override
            public void copyTo(OutputStream output) {
                throw new UnsupportedOperationException("Copy to not supported for filters");
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:25:10 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/DefaultPayloadClassLoaderRegistry.java

                            urlClassLoader.addURL(uri.toURL());
                        }
                    }
                } catch (URISyntaxException | MalformedURLException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            }
            return classLoader;
        }
    
        private static Set<URI> uris(VisitableURLClassLoader classLoader) throws URISyntaxException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/ModuleVersionNotFoundException.java

            } catch (Exception e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. platforms/software/resources-gcs/src/main/java/org/gradle/internal/resource/transport/gcp/gcs/GcsClient.java

            String path;
            try {
                path = URLDecoder.decode(uri.getPath(), "UTF-8");
            } catch (UnsupportedEncodingException e) {
                throw UncheckedException.throwAsUncheckedException(e); // fail fast, this should not happen
            }
            while (path.startsWith("/")) {
                path = path.substring(1);
            }
            return path;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 11:17:20 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/project/antbuilder/ClassPathToClassLoaderCache.java

        @Override
        public void stop() {
            finalizerThread.exit();
            try {
                finalizerThread.join();
            } catch (InterruptedException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        public int size() {
            return cacheEntries.size();
        }
    
        public boolean isEmpty() {
            return cacheEntries.isEmpty();
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/resource/local/DefaultPathKeyFileStore.java

                FileUtils.deleteQuietly(destination);
                action.execute(destination);
            } catch (Throwable t) {
                FileUtils.deleteQuietly(destination);
                throw UncheckedException.throwAsUncheckedException(t);
            } finally {
                deleteFileQuietly(inProgressMarkerFile);
            }
        }
    
        @Override
        public Set<? extends LocallyAvailableResource> search(String pattern) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 31 20:39:17 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/DefaultClassPath.java

        }
    
        private static URL toURL(File file) {
            try {
                return file.toURI().toURL();
            } catch (MalformedURLException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        @Override
        public ClassPath plus(ClassPath other) {
            if (isEmpty()) {
                return other;
            }
            if (other.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/tasks/WriteProperties.java

                    propertiesBuilder.put(e.getKey(), e.getValue().call());
                }
            } catch (Exception e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
            return propertiesBuilder.build();
        }
    
        /**
         * Sets all properties to be written to the properties file replacing any existing properties.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top