Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 136 for throwAsUncheckedException (0.65 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/NotifyDaemonAboutChangedPathsClient.java

                }
                connection.dispatch(new Finished());
            } catch (Throwable e) {
                failure = e;
            }
            if (failure != null) {
                throw UncheckedException.throwAsUncheckedException(failure);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. platforms/software/version-control/src/main/java/org/gradle/vcs/git/internal/DefaultGitVersionControlSpec.java

            try {
                setUrl(new URI(url));
            } catch (URISyntaxException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        @Override
        public String getDisplayName() {
            return "Git repository at " + getUrl();
        }
    
        @Override
        public String getUniqueId() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/JavaReflectionUtil.java

                constructor.setAccessible(true);
                return constructor.newInstance();
            } catch (Throwable e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
         * Returns the {@link TypeToken} of a parameter specified by index.
         *
         * @param beanType the TypeToken of the bean
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/deployment/internal/DefaultContinuousExecutionGate.java

                        // wait for it to open
                        opened.await();
                    }
                }
            } catch (InterruptedException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            } finally {
                lock.unlock();
            }
        }
    
        @Override
        public String toString() {
            return "Gate is " + (!isClosed() ? "open" : "closed");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ExecutorPolicy.java

            public void onStop() {
                // Rethrow the first failure
                Throwable failure = this.failure.getAndSet(null);
                if (failure != null) {
                    throw UncheckedException.throwAsUncheckedException(failure);
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/MavenBuildExperimentRunner.java

                scenarioInvoker.run(scenarioDefinition, invocationSettings, resultConsumer);
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            } finally {
                try {
                    Logging.resetLogging();
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FixedExclusiveModeCrossProcessCacheAccess.java

                }
                onOpenAction.accept(fileLock);
            } catch (Exception e) {
                fileLock.close();
                throw UncheckedException.throwAsUncheckedException(e);
            }
            this.fileLock = fileLock;
        }
    
        @Override
        public void close() {
            if (fileLock != null) {
                try {
                    onCloseAction.accept(fileLock);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 01 12:21:15 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataStore.java

                        moduleMetadataSerializer.write(encoder, metadata, new HashMap<>());
                    }
                } catch (Exception e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            });
        }
    
        private String[] getFilePath(ModuleComponentAtRepositoryKey componentId) {
            ModuleComponentIdentifier moduleComponentIdentifier = componentId.getComponentId();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/AbstractManagedExecutor.java

                }
            } catch (InterruptedException e) {
                delegate.shutdownNow();
                throw UncheckedException.throwAsUncheckedException(e);
            }
            executorPolicy.onStop();
        }
    
        @Override
        public void setKeepAlive(int timeout, TimeUnit timeUnit) {
            if (delegate instanceof ThreadPoolExecutor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/daemon-services/src/main/java/org/gradle/internal/daemon/clientinput/StdInStream.java

            }
            while (readPos == buffer.length && !closed) {
                try {
                    lock.wait();
                } catch (InterruptedException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            }
        }
    
        @Override
        public void close() {
            synchronized (lock) {
                // Allow threads to read anything still buffered
                closed = true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top