Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for throwAsUncheckedException (0.26 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java

                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
                LOGGER.debug("Command execution: finished waiting for {}. Result {} with state {}", currentCommandExecution, result, state);
                if (result instanceof Throwable) {
                    throw UncheckedException.throwAsUncheckedException((Throwable) result);
                }
                if (result != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DefaultDaemonConnection.java

                    throw UncheckedException.throwAsUncheckedException(e);
                }
            }
    
            public Object take(long timeoutValue, TimeUnit timeoutUnits) {
                Object result;
                try {
                    result = queue.poll(timeoutValue, timeoutUnits);
                } catch (InterruptedException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCoordinator.java

                    crossProcessCacheAccess.open();
                    open = true;
                } catch (Throwable throwable) {
                    crossProcessCacheAccess.close();
                    throw UncheckedException.throwAsUncheckedException(throwable);
                }
            });
        }
    
        @Override
        public void cleanup() {
            if (cleanupAction != null) {
                if (cacheAccessWorker != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 01 12:21:15 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java

                MISSING_METHOD_METHOD = MetaClassImpl.class.getDeclaredField("methodMissing");
                MISSING_METHOD_METHOD.setAccessible(true);
            } catch (Exception e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        public BeanDynamicObject(Object bean) {
            this(bean, null, true, true, StringToEnumTransformer.INSTANCE, StringToEnumTransformer.INSTANCE);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  5. 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)
  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. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top