- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 138 for throwAsUncheckedException (0.37 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputCapturer.java
} public String getOutputAsString() { try { return buffer.toString(outputEncoding); } catch (UnsupportedEncodingException e) { throw UncheckedException.throwAsUncheckedException(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/util/internal/DistributionLocator.java
try { return new URI(repositoryUrl + "/" + archiveName + "-" + version.getVersion() + "-" + archiveClassifier + ".zip"); } catch (URISyntaxException e) { throw UncheckedException.throwAsUncheckedException(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 23 13:12:08 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/LockCache.java
public T call() { return createResourceLock(key, producer); } }); } catch (ExecutionException e) { throw UncheckedException.throwAsUncheckedException(e); } } private T createResourceLock(final K key, final AbstractResourceLockRegistry.ResourceLockProducer<K, T> producer) { return producer.create(key, coordinationService, owner); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyModuleDescriptorConverter.java
DEPENDENCY_CONFIG_FIELD.setAccessible(true); } catch (NoSuchFieldException e) { throw UncheckedException.throwAsUncheckedException(e); } } private final ImmutableModuleIdentifierFactory moduleIdentifierFactory; public IvyModuleDescriptorConverter(ImmutableModuleIdentifierFactory moduleIdentifierFactory) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8.7K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/MSBuildExecutor.java
private void cleanupOutputDir() { try { FileUtils.deleteDirectory(getOutputsDir()); getOutputsDir().mkdir(); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } private List<ExecutionOutput> getOutputFiles() { List<ExecutionOutput> outputFiles = new ArrayList<>(); for (File executionDir : getOutputsDir().listFiles()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultSynchronizer.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/util/DistributionLocator.java
try { return new URI(repositoryUrl + "/" + archiveName + "-" + version.getVersion() + "-" + archiveClassifier + ".zip"); } catch (URISyntaxException e) { throw UncheckedException.throwAsUncheckedException(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Sep 07 08:48:39 UTC 2022 - 2.4K bytes - Viewed (0) -
platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java
FileUtils.deleteQuietly(failedFile); //noinspection ResultOfMethodCallIgnored file.renameTo(failedFile); throw UncheckedException.throwAsUncheckedException(e); } } @Override public void store(HashCode key, IoConsumer<OutputStream> result) { tempFileStore.withTempFile(key, file -> { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:53 UTC 2024 - 7K bytes - Viewed (0) -
platforms/jvm/language-jvm/src/main/java/org/gradle/api/internal/tasks/compile/daemon/AbstractDaemonCompiler.java
if (result.isSuccess()) { return result; } else { throw UncheckedException.throwAsUncheckedException(result.getException()); } } protected abstract DaemonForkOptions toDaemonForkOptions(T spec); protected abstract CompilerWorkerExecutor.CompilerParameters getCompilerParameters(T spec);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/KeyHasher.java
private MessageDigestStream() { try { messageDigest = MessageDigest.getInstance("MD5"); } catch (NoSuchAlgorithmException e) { throw UncheckedException.throwAsUncheckedException(e); } } @Override public void write(int b) throws IOException { messageDigest.update((byte) b); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 2.4K bytes - Viewed (0)