Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 47 for throwAsUncheckedException (0.86 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.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
    - 21.2K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriter.java

                    writer.endElement();
                }
    
                writer.endElement();
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        private void writeOutputs(SimpleXmlWriter writer, long classId, boolean allClassOutput, TestOutputEvent.Destination destination) throws IOException {
            writer.startCDATA();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:49:57 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/ForkedTestClasspathFactory.java

                    classDetector.withoutDetectedModules(unfiltered.implementationModulepath)
                );
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        public interface ClassDetector extends Closeable {
            boolean hasClass(String className);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top