- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for asFailure (0.12 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DependencySubstitutionApplicator.java
return result; } @Nullable public Throwable getFailure() { return failure; } public boolean hasFailure() { return failure != null; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/AbstractFailure.java
private final RuntimeException failure; public AbstractFailure(RuntimeException failure) { this.failure = failure; } @Override public boolean isFailure() { return true; } @Override public RuntimeException getFailure() { return failure; } @Override public void writeTo(int requestId, HttpExchange exchange) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/configuration/project/LifecycleProjectEvaluator.java
try { state.toBeforeEvaluate(); buildOperationRunner.run(new NotifyBeforeEvaluate(project, state)); if (!state.hasFailure()) { state.toEvaluate(); try { delegate.evaluate(project, state); } catch (Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 10.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/ProjectStateInternal.java
CollectionUtils.addAll(causes, failure.getCauses()); this.failure.initCauses(causes); } } public boolean hasFailure() { return failure != null; } @Override public Throwable getFailure() { return failure; } @Override public void rethrowFailure() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:52:05 UTC 2021 - 3.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/RunBuildAction.java
); if (result.hasFailure()) { // Don't need to unpack the serialized failure. It will already have been reported and is not used by anything downstream of this action. throw new ReportedException(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:54:56 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/exec/BuildActionResult.java
public SerializedPayload getFailure() { return serializedFailure; } @Nullable public RuntimeException getException() { return failure; } public boolean hasFailure() { return failure != null || serializedFailure != null; } public void rethrow() { if (failure != null) { throw failure; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 04:50:46 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt
internal var isDuplex: Boolean = false private set /** True if there was an exception on the connection to the peer. */ internal var hasFailure: Boolean = false private set internal val connection: RealConnection get() = codec.carrier as? RealConnection ?: error("no connection for CONNECT tunnels") internal val isCoalescedConnection: Boolean
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/AbstractConflictResolverTest.groovy
assert details.hasSelected() assert details.selected.version == version } protected void resolutionFailedWith(String message) { assert details.hasFailure() assert details.failure.message == message } protected void candidateVersions(List<String> versions) { versions.each { prefer(it) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheFixture.groovy
configurationCacheBuildOperations.assertStateStored(false) } def message = "Configuration cache entry ${details.storeAction}" boolean isFailure = spec.result instanceof ExecutionFailure if (isFailure) { spec.outputContains(message) } else { spec.postBuildOutputContains(message) } assertHasProblems(problemDetails) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 15.1K 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();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 02:21:08 UTC 2024 - 5.2K bytes - Viewed (0)