- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 191 for throwAsUncheckedException (0.37 sec)
-
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccess.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultConflictHandler.java
ConflictResolverDetails<ComponentState> details = new DefaultConflictResolverDetails<>(conflict.candidates); resolver.select(details); if (details.hasFailure()) { throw UncheckedException.throwAsUncheckedException(details.getFailure()); } ComponentResolutionState selected = details.getSelected(); ConflictResolutionResult result = new DefaultConflictResolutionResult(conflict.participants, selected);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 02:21:08 UTC 2024 - 5.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/plan/SingleFileTreeElementMatcher.java
@Override public InputStream open() { try { return Files.newInputStream(file.toPath()); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } @Override public void copyTo(OutputStream output) { throw new UnsupportedOperationException("Copy to not supported for filters"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 15:25:10 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/TcpOutgoingConnector.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/tasks/CachingTaskDependencyResolveContext.java
if (task != null) { throw new TaskDependencyResolveException(format("Could not determine the dependencies of %s.", task), e); } else { throw UncheckedException.throwAsUncheckedException(e); } } finally { queue.clear(); this.task = null; } } @Override @Nullable public Task getTask() { return task;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:48:26 UTC 2024 - 4.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/configuration/ScriptPluginFactorySelector.java
try { return getClass().getClassLoader().loadClass(providerClassName); } catch (ClassNotFoundException e) { throw UncheckedException.throwAsUncheckedException(e); } } }; } private final ScriptPluginFactory defaultScriptPluginFactory; private final ProviderInstantiator providerInstantiator;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 07:44:44 UTC 2024 - 5.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/buildtree/IntermediateBuildActionRunner.java
for (RunnableBuildOperation action : actions) { try { action.run(null); } catch (Exception e) { throw UncheckedException.throwAsUncheckedException(e); } } } } @NonNullApi private static class NestedAction<T> implements RunnableBuildOperation { private final String displayName;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 08 07:46:55 UTC 2024 - 4.7K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/ResolutionErrorRenderer.java
} else { // Fallback to failing the task in case we don't know anything special // about the error throw UncheckedException.throwAsUncheckedException(cause); } } private void handleOutOfDateLocks(final LockOutOfDateException cause) { registerError(output -> { List<String> errors = cause.getErrors();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 17:52:50 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/core-runtime/native/src/jmh/java/org/gradle/internal/nativeintegration/filesystem/FileMetadataAccessorBenchmark.java
} return DefaultFileMetadata.file(bfa.lastModifiedTime().toMillis(), bfa.size(), AccessType.DIRECT); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/tasks/UnexportMainSymbol.java
symbolHider.hideSymbol("_wmain"); // 32 bit symbolHider.saveTo(relocatedObject); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } else { getProject().exec(new Action<ExecSpec>() { @Override public void execute(ExecSpec execSpec) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.2K bytes - Viewed (0)