Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 217 for throwAsUncheckedException (0.49 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/oldresult/TransientConfigurationResultsBuilder.java

    import org.gradle.internal.time.Timer;
    
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    import static org.gradle.internal.UncheckedException.throwAsUncheckedException;
    
    /**
     * Serializes the transient parts of the resolved configuration results.
     */
    public class TransientConfigurationResultsBuilder {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMaxNConcurrentRequestsThenRelease.java

                // Wait for a short while to check for unexpected requests
                try {
                    Thread.sleep(500);
                } catch (InterruptedException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
                doReleaseAction(handler, yetToBeReceived);
            });
        }
    
        abstract void doReleaseAction(BlockingHttpServer.BlockingHandler handler, int yetToBeReceived);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputCapturer.java

        }
    
        public String getOutputAsString() {
            try {
                return buffer.toString(outputEncoding);
            } catch (UnsupportedEncodingException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java

                        setState(State.Unblocking, State.Failed);
                        throw UncheckedException.throwAsUncheckedException(e);
                    } finally {
                        setBlockingThread(null);
                    }
                } catch (InterruptedException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            }
    
            private ThreadHandle getBlockingThread() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/util/internal/DistributionLocator.java

            try {
                return new URI(repositoryUrl + "/" + archiveName + "-" + version.getVersion() + "-" + archiveClassifier + ".zip");
            } catch (URISyntaxException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 23 13:12:08 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java

            try {
                return object.getClass().getMethod("toString").getDeclaringClass() == Object.class;
            } catch (java.lang.NoSuchMethodException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
         * Resolves the return type of a method in a given class.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/LockCache.java

                    public T call() {
                        return createResourceLock(key, producer);
                    }
                });
            } catch (ExecutionException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        private T createResourceLock(final K key, final AbstractResourceLockRegistry.ResourceLockProducer<K, T> producer) {
            return producer.create(key, coordinationService, owner);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyModuleDescriptorConverter.java

                DEPENDENCY_CONFIG_FIELD.setAccessible(true);
            } catch (NoSuchFieldException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        private final ImmutableModuleIdentifierFactory moduleIdentifierFactory;
    
        public IvyModuleDescriptorConverter(ImmutableModuleIdentifierFactory moduleIdentifierFactory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/MSBuildExecutor.java

        private void cleanupOutputDir() {
            try {
                FileUtils.deleteDirectory(getOutputsDir());
                getOutputsDir().mkdir();
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        private List<ExecutionOutput> getOutputFiles() {
            List<ExecutionOutput> outputFiles = new ArrayList<>();
            for (File executionDir : getOutputsDir().listFiles()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultSynchronizer.java

                            try {
                                DefaultSynchronizer.this.wait();
                            } catch (InterruptedException e) {
                                throw UncheckedException.throwAsUncheckedException(e);
                            }
                        }
                        owner = currentThread;
                    }
                }
            });
            return null;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top