- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 115 for throwAsUncheckedException (0.63 sec)
-
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/DefaultFileLockManager.java
import java.util.function.LongSupplier; import java.util.function.Supplier; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static org.gradle.internal.UncheckedException.throwAsUncheckedException; /** * Uses file system locks on a lock file per target file. */ public class DefaultFileLockManager implements FileLockManager {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:32 UTC 2024 - 22.3K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/RedirectStdinExtension.groovy
try { stdinPipe = new PipedOutputStream(emulatedSystemIn); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } } private void closePipe() { CompositeStoppable.stoppable(stdinPipe, emulatedSystemIn).stop(); stdinPipe = null;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/operations/trace/BuildOperationTrace.java
logFile.createNewFile(); this.logOutputStream = new BufferedOutputStream(new FileOutputStream(logFile)); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } buildOperationListenerManager.addListener(listener); } private static String getProperty(StartParameter startParameter, String property) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:45:59 UTC 2024 - 23.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/caching/internal/controller/impl/LifecycleAwareBuildCacheControllerFactory.java
try { controller.close(); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } throw new IllegalStateException("Build cache controller already set"); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:28:13 UTC 2024 - 9.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java
throw new PropertyQueryException(String.format("Failed to query the value of %s.", displayName), e); } else { throw UncheckedException.throwAsUncheckedException(e); } } } } @Override public void attachOwner(@Nullable ModelObject owner, DisplayName displayName) { this.displayName = displayName; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:54 UTC 2024 - 15.8K bytes - Viewed (0) -
platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/internal/HttpBuildCacheService.java
return new URI(uri.getScheme(), null, uri.getHost(), uri.getPort(), uri.getPath(), uri.getQuery(), uri.getFragment()); } catch (URISyntaxException e) { throw UncheckedException.throwAsUncheckedException(e); } } /** * Add a trailing slash to the given URI's path if necessary. * * @param uri the original URI
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 14:13:12 UTC 2024 - 8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/NotifyDaemonAboutChangedPathsClient.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProvider.java
try (EvaluationContext.ScopeContext ignored = openScope()) { return Value.ofNullable(value.call()); } catch (Exception e) { throw UncheckedException.throwAsUncheckedException(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 17 23:22:41 UTC 2024 - 2.6K bytes - Viewed (0)