Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 217 for throwAsUncheckedException (0.69 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProvider.java

            try (EvaluationContext.ScopeContext ignored = openScope()) {
                return Value.ofNullable(value.call());
            } catch (Exception e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/continuous/ContinuousBuildTriggerHandler.java

                if (!cancellationToken.isCancellationRequested()) {
                    continuousExecutionGate.waitForOpen();
                }
            } catch (InterruptedException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            } finally {
                cancellationToken.removeCallback(cancellationHandler);
            }
        }
    
        public boolean hasBeenTriggered() {
            return changeArrived;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/initialization/buildsrc/BuildSrcDetector.java

            try (Stream<Path> directoryContents = Files.walk(directory.toPath())) {
                return directoryContents.anyMatch(Files::isRegularFile);
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 09:18:31 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top