Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 217 for throwAsUncheckedException (0.35 sec)

  1. 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)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FixedExclusiveModeCrossProcessCacheAccess.java

                }
                onOpenAction.accept(fileLock);
            } catch (Exception e) {
                fileLock.close();
                throw UncheckedException.throwAsUncheckedException(e);
            }
            this.fileLock = fileLock;
        }
    
        @Override
        public void close() {
            if (fileLock != null) {
                try {
                    onCloseAction.accept(fileLock);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 01 12:21:15 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataStore.java

                        moduleMetadataSerializer.write(encoder, metadata, new HashMap<>());
                    }
                } catch (Exception e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            });
        }
    
        private String[] getFilePath(ModuleComponentAtRepositoryKey componentId) {
            ModuleComponentIdentifier moduleComponentIdentifier = componentId.getComponentId();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/AbstractManagedExecutor.java

                }
            } catch (InterruptedException e) {
                delegate.shutdownNow();
                throw UncheckedException.throwAsUncheckedException(e);
            }
            executorPolicy.onStop();
        }
    
        @Override
        public void setKeepAlive(int timeout, TimeUnit timeUnit) {
            if (delegate instanceof ThreadPoolExecutor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/daemon-services/src/main/java/org/gradle/internal/daemon/clientinput/StdInStream.java

            }
            while (readPos == buffer.length && !closed) {
                try {
                    lock.wait();
                } catch (InterruptedException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            }
        }
    
        @Override
        public void close() {
            synchronized (lock) {
                // Allow threads to read anything still buffered
                closed = true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/daemon-services/src/main/java/org/gradle/internal/daemon/serialization/DaemonSidePayloadClassLoaderFactory.java

            for (URI uri : classpath) {
                try {
                    urls.add(uri.toURL());
                } catch (MalformedURLException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            }
            return urls;
        }
    
        private ClassLoader createClassLoaderForClassPath(String name, List<? extends ClassLoader> parents, List<URL> classpath) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultPropertyAnnotationMetadata.java

        @Override
        public Object getPropertyValue(Object object) {
            try {
                return getter.invoke(object);
            } catch (InvocationTargetException e) {
                throw UncheckedException.throwAsUncheckedException(e.getCause());
            } catch (Exception e) {
                throw new GradleException(String.format("Could not call %s.%s() on %s", getter.getDeclaringClass().getSimpleName(), getter.getName(), object), e);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/async/ServiceLifecycle.java

                }
                while (!usages.isEmpty()) {
                    try {
                        condition.await();
                    } catch (InterruptedException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
                if (state != State.STOPPED) {
                    state = State.STOPPED;
                }
            } finally {
                lock.unlock();
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:55 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/DefaultVisualCppMetadataProvider.java

                return new DefaultVisualCppMetadata(visualCppDir, VersionNumber.parse(versionString));
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        private static class DefaultVisualCppMetadata implements VisualCppInstallCandidate {
            private final File visualCppDir;
            private final VersionNumber version;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top