Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 64 for throwAsUncheckedException (0.27 sec)

  1. 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)
  2. 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)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

            try {
                return cache.get(source).newInstance(source);
            } catch (ExecutionException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            } catch (UncheckedExecutionException e) {
                throw UncheckedException.throwAsUncheckedException(e.getCause());
            }
        }
    
        private <T> CachedRuleSource doExtract(final Class<T> source) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ChainingHttpHandler.java

                while (this.requestsStarted < requestCount) {
                    try {
                        condition.await();
                    } catch (InterruptedException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
            } finally {
                lock.unlock();
            }
        }
    
        private static class RequestOutcome {
            final Lock lock;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/StreamingResolutionResultBuilder.java

    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.stream.Collectors;
    
    import static org.gradle.internal.UncheckedException.throwAsUncheckedException;
    
    public class StreamingResolutionResultBuilder implements DependencyGraphVisitor {
        private final static byte ROOT = 1;
        private final static byte COMPONENT = 2;
        private final static byte SELECTOR = 4;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DistributionInstaller.java

                if (failure != null) {
                    if (failure instanceof Exception) {
                        throw (Exception) failure;
                    }
                    throw UncheckedException.throwAsUncheckedException(failure);
                }
            }
    
            private long withProgressLogging(URI address, File destination, OperationDescriptor operationDescriptor) throws Throwable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/operations/DefaultBuildOperationQueue.java

                        try {
                            operationsComplete.await();
                        } catch (InterruptedException e) {
                            throw UncheckedException.throwAsUncheckedException(e);
                        }
                    }
    
                    markFinished();
                } finally {
                    lock.unlock();
                }
            });
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 31 15:18:20 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/TestWorker.java

                        executeAndMaintainThreadName(runQueue.take());
                    }
                } catch (InterruptedException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            } finally {
                LOGGER.info("{} finished executing tests.", workerProcessContext.getDisplayName());
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. subprojects/build-events/src/main/java/org/gradle/internal/build/event/DefaultBuildEventsListenerRegistry.java

                    Object next;
                    try {
                        next = events.take();
                    } catch (InterruptedException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                    if (next == END) {
                        return;
                    }
                    try {
                        handle(Cast.uncheckedNonnullCast(next));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 19:34:01 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ClassLoaderUtils.java

                URLConnection urlConnection = url.openConnection();
                urlConnection.setDefaultUseCaches(false);
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        static Package[] getPackages(ClassLoader classLoader) {
            return CLASS_LOADER_PACKAGES_FETCHER.getPackages(classLoader);
        }
    
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top