Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 202 for throwAsUncheckedException (0.48 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/exec/BuildCompletionNotifyingBuildActionRunner.java

                notifyEnterprisePluginManager(Result.failed(t));
                throw UncheckedException.throwAsUncheckedException(t);
            }
            notifyEnterprisePluginManager(result);
            return result;
        }
    
        private void notifyEnterprisePluginManager(Result result) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/streams/DefaultValueStore.java

                        // Could not retain
                        source.close();
                    }
                }
            } catch (Exception e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        @Override
        public void close() throws IOException {
            try {
                CompositeStoppable.stoppable().add(sinks).add(availableSources.values()).stop();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultFileLockManager.java

    import java.util.function.LongSupplier;
    import java.util.function.Supplier;
    
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static org.gradle.internal.UncheckedException.throwAsUncheckedException;
    
    /**
     * Uses file system locks on a lock file per target file.
     */
    public class DefaultFileLockManager implements FileLockManager {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/queue/EndPointQueue.java

                while (queue.isEmpty()) {
                    try {
                        condition.await();
                    } catch (InterruptedException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
            }
            drainTo.addAll(queue);
            queue.clear();
        }
    
        public void stop() {
            owner.stopped(this);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/RedirectStdinExtension.groovy

                    try {
                        stdinPipe = new PipedOutputStream(emulatedSystemIn);
                    } catch (IOException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
            }
    
            private void closePipe() {
                CompositeStoppable.stoppable(stdinPipe, emulatedSystemIn).stop();
                stdinPipe = null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/operations/trace/BuildOperationTrace.java

                logFile.createNewFile();
    
                this.logOutputStream = new BufferedOutputStream(new FileOutputStream(logFile));
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
    
            buildOperationListenerManager.addListener(listener);
        }
    
        private static String getProperty(StartParameter startParameter, String property) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/caching/internal/controller/impl/LifecycleAwareBuildCacheControllerFactory.java

                    try {
                        controller.close();
                    } catch (IOException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                    throw new IllegalStateException("Build cache controller already set");
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:28:13 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

                        throw new PropertyQueryException(String.format("Failed to query the value of %s.", displayName), e);
                    } else {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
            }
        }
    
        @Override
        public void attachOwner(@Nullable ModelObject owner, DisplayName displayName) {
            this.displayName = displayName;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/internal/HttpBuildCacheService.java

                return new URI(uri.getScheme(), null, uri.getHost(), uri.getPort(), uri.getPath(), uri.getQuery(), uri.getFragment());
            } catch (URISyntaxException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
         * Add a trailing slash to the given URI's path if necessary.
         *
         * @param uri the original URI
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 14:13:12 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. 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)
Back to top