Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 204 for throwAsUncheckedException (0.44 sec)

  1. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/processors/MaxNParallelTestClassProcessor.java

        public void stop() {
            try {
                CompositeStoppable.stoppable(processors).add(actors).add(resultProcessorActor).stop();
            } catch (DispatchException e) {
                throw UncheckedException.throwAsUncheckedException(e.getCause());
            }
        }
    
        @Override
        public void stopNow() {
            stoppedNow = true;
            for (TestClassProcessor processor : rawProcessors) {
                processor.stopNow();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/LoggingExcludeFactory.java

                    LOGGER.debug("{\"operation\": { \"name\": \"{}\", \"operands\": {}, \"result\": {} } }", operationName, toList(operands), sw.toString());
                }
                throw UncheckedException.throwAsUncheckedException(e);
            }
            if (subject.isTraceOperations()) {
                LOGGER.debug("{\"operation\": { \"name\": \"{}\", \"operands\": {}, \"result\": {} } }", operationName, toList(operands), spec);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. platforms/software/resources/src/main/java/org/gradle/internal/resource/transfer/UrlExternalResource.java

        public static ExternalResource open(URL url) throws IOException {
            URI uri;
            try {
                uri = url.toURI();
            } catch (URISyntaxException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
            UrlExternalResource connector = new UrlExternalResource();
            return new AccessorBackedExternalResource(new ExternalResourceName(uri), connector, connector, connector, false);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/TcpIncomingConnector.java

                localPort = serverSocket.socket().getLocalPort();
            } catch (Exception e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
    
            UUID id = idGenerator.generateId();
            List<InetAddress> addresses = Collections.singletonList(addressFactory.getLocalBindingAddress());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/FileDownloadOperationMapper.java

            } catch (URISyntaxException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleSourceDetector.java

                            }
                        })
                        .filter(Predicates.notNull());
            } catch (ExecutionException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        public boolean hasRules(Class<?> container) {
            return !Iterables.isEmpty(getDeclaredSources(container));
        }
    
        private boolean isRuleSource(Class<?> clazz) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/project/antbuilder/AntBuilderDelegate.java

                        addTaskDefinition(name, className);
                    }
                } catch (Exception ex) {
                    throw UncheckedException.throwAsUncheckedException(ex);
                } finally {
                    IoActions.closeQuietly(instr);
                }
            } else {
                throw new RuntimeException("Unsupported parameters for taskdef(): " + args);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 10 10:55:07 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DefaultDaemonConnector.java

                        sleep(200);
                        connection = connectToIdleDaemon(daemonRegistry.getIdle(), constraint);
                    } catch (InterruptedException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
            }
            return connection;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/internal/problems/failure/FailurePrinter.java

            }
    
            public void print(Failure failure) {
                try {
                    printRecursively("", "", null, failure);
                } catch (IOException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            }
    
            private void printRecursively(String caption, String prefix, @Nullable Failure parent, Failure failure) throws IOException {
                builder.append(prefix)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:45:41 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccess.java

                onOpenAction.accept(fileLock);
            } catch (Exception e) {
                if (fileLock != null) {
                    fileLock.close();
                }
                throw UncheckedException.throwAsUncheckedException(e);
            }
            this.fileLock = fileLock;
        }
    
        @Override
        public void close() {
            if (fileLock != null) {
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top