Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 217 for throwAsUncheckedException (0.53 sec)

  1. 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)
  2. 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)
  3. 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)
  4. subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildWorkGraphController.java

                    workerLeaseService.blocking(() -> {
                        try {
                            lock.wait();
                        } catch (InterruptedException e) {
                            throw UncheckedException.throwAsUncheckedException(e);
                        }
                    });
                }
                currentOwner = Thread.currentThread();
                DefaultBuildWorkGraph workGraph = new DefaultBuildWorkGraph();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 31 05:15:28 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/DefaultResourceLockCoordinationService.java

                        }
                    }
                } catch (Throwable t) {
                    resourceLockState.releaseLocks();
                    throw UncheckedException.throwAsUncheckedException(t);
                } finally {
                    finishOperation(previous);
                }
            }
        }
    
        private DefaultResourceLockState startOperation(DefaultResourceLockState newState) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 17:16:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. 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)
  9. subprojects/core/src/main/java/org/gradle/configuration/internal/DefaultListenerBuildOperationDecorator.java

                                    throw UncheckedException.unwrapAndRethrow(e);
                                } catch (Exception e) {
                                    throw UncheckedException.throwAsUncheckedException(e);
                                }
                            });
                        }
                    });
    
                    // all of the interfaces that we decorate have 100% void methods
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/plugins/DefaultPluginRegistry.java

            try {
                return cache.get(key);
            } catch (ExecutionException | UncheckedExecutionException e) {
                throw UncheckedException.throwAsUncheckedException(e.getCause());
            }
        }
    
        static class PluginIdLookupCacheKey {
    
            private final ClassLoader classLoader;
            private final PluginId id;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 10.4K bytes
    - Viewed (0)
Back to top