Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 64 for throwAsUncheckedException (0.38 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/selectors/SelectorStateResolver.java

            conflictResolver.select(details);
            T selected = details.getSelected();
            if (details.hasFailure()) {
                throw UncheckedException.throwAsUncheckedException(details.getFailure());
            } else {
                ComponentSelectionDescriptorInternal desc = ComponentSelectionReasons.CONFLICT_RESOLUTION;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 14:22:29 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/util/internal/DefaultGradleVersion.java

                        return format.parse(matcher.group(8)).getTime();
                    }
                } catch (ParseException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            }
        }
    
        private Stage parseStage(Matcher matcher) {
            if (matcher.group(4) == null || isCommitVersion(matcher)) {
                return null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. platforms/software/resources/src/main/java/org/gradle/internal/resource/ExternalResourceName.java

                }
                return new URI(encodedRoot + encode(path, true) + encodedQuery);
            } catch (URISyntaxException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
         * Returns the 'displayable' name, which is the opaque root + the encoded path of the name.
         */
        public String getDisplayable() {
            if (encodedRoot == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/ChecksumAndSignatureVerificationOverride.java

            } catch (FileNotFoundException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            } catch (DependencyVerificationException e) {
                throw new DependencyVerificationException("Unable to read dependency verification metadata from " + verificationsFile, e.getCause());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 21 03:12:15 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java

                socket.configureBlocking(false);
                outstr = new SocketOutputStream(socket);
                instr = new SocketInputStream(socket);
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
            InetSocketAddress localSocketAddress = (InetSocketAddress) socket.socket().getLocalSocketAddress();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/GradleBuildExperimentRunner.java

                    doRunScenario(scenarioDefinition, scenarioInvoker, invocationSettings, results);
                }
            } catch (IOException | InterruptedException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            } finally {
                try {
                    Logging.resetLogging();
                } catch (IOException e) {
                    //noinspection CallToPrintStackTrace
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publisher/AbstractMavenPublisher.java

                        try {
                            return new MetadataXpp3Reader().read(inputStream, false);
                        } catch (Exception e) {
                            throw UncheckedException.throwAsUncheckedException(e);
                        }
                    });
                }
    
                @Override
                public String toString() {
                    return "GET " + metadataResource.getDisplayName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 12:20:56 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientHelper.java

                return null;
            }
            try {
                return new URIBuilder(uri).setUserInfo(null).build();
            } catch (URISyntaxException e) {
                throw UncheckedException.throwAsUncheckedException(e, true);
            }
        }
    
        private static class FailureFromRedirectLocation extends IOException {
            private final URI lastRedirectLocation;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

                        try {
                            unzipTo(zippedFile, unzipDir)
                        } catch (IOException e) {
                            throw UncheckedException.throwAsUncheckedException(e)
                        }
                    }
    
                    static void unzipTo(File inputZip, File unzipDir) throws IOException {
                        inputZip.withInputStream { stream ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMaxNConcurrentRequests.java

                    try {
                        condition.await(waitMs, TimeUnit.MILLISECONDS);
                    } catch (InterruptedException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
                if (state.isFailed()) {
                    // Broken in another thread
                    System.out.println(String.format("[%d] failure in another thread", id));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top