Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 187 for getFailure (0.3 sec)

  1. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/protocol/StreamFailureMessage.java

            // but we need some way to correlate a given request with a specific response channel
            return Delivery.AllHandlers;
        }
    
        public Throwable getFailure() {
            return failure;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/deployment/internal/DefaultDeploymentStatus.java

        DefaultDeploymentStatus(boolean changed, @Nullable Throwable failure) {
            this.changed = changed;
            this.failure = failure;
        }
    
        @Override
        public Throwable getFailure() {
            return failure;
        }
    
        @Override
        public boolean hasChanged() {
            return changed;
        }
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 23 18:00:07 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ResponseProducer.java

         */
        void writeTo(int requestId, HttpExchange exchange) throws IOException;
    
        /**
         * Returns the failure, if any.
         */
        default RuntimeException getFailure() {
            throw new IllegalStateException();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/functional/src/main/java/org/gradle/internal/Try.java

         */
        public abstract T getOrMapFailure(Function<Throwable, T> f);
    
        /**
         * Returns the failure for a failed result, or {@link Optional#empty()} otherwise.
         */
        public abstract Optional<Throwable> getFailure();
    
        /**
         * If the represented operation was successful, returns the result of applying the given
         * {@code Try}-bearing mapping function to the value, otherwise returns
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/DefaultBuildOperationRunner.java

                        Throwable failure = null;
                        try {
                            worker.execute(buildOperation, context);
                        } catch (Throwable t) {
                            if (context.getFailure() == null) {
                                context.failed(t);
                            }
                            failure = t;
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:33:49 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/selectors/SelectorStateResolver.java

                return;
            }
    
            // Need to perform the actual resolve
            ComponentIdResolveResult result = selector.resolve(allRejects);
    
            if (result.getFailure() != null) {
                results.register(selector, result);
                return;
            }
    
            results.replaceExistingResolutionsWithBetterResult(result, selector.isFromLock());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 14:22:29 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/InternalBasicProblemDetailsVersion3.java

        @Nullable
        InternalDetails getDetails();
    
        @Nullable
        InternalContextualLabel getContextualLabel();
    
        List<InternalLocation> getLocations();
    
        @Nullable
        InternalFailure getFailure();
    
        InternalAdditionalData getAdditionalData();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 09:50:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/AbstractFailure.java

            this.failure = failure;
        }
    
        @Override
        public boolean isFailure() {
            return true;
        }
    
        @Override
        public RuntimeException getFailure() {
            return failure;
        }
    
        @Override
        public void writeTo(int requestId, HttpExchange exchange) {
            throw new IllegalStateException();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/result/BuildableArtifactFileResolveResult.java

        boolean isSuccessful();
    
        /**
         * Returns the resolve failure, if any.
         */
        @Override
        @Nullable
        ArtifactResolveException getFailure();
    
        /**
         * @throws ArtifactResolveException If the resolution was unsuccessful.
         */
        @Override
        File getResult() throws ArtifactResolveException;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/result/BuildableArtifactResolveResult.java

        boolean isSuccessful();
    
        /**
         * Returns the resolve failure, if any.
         */
        @Override
        @Nullable
        ArtifactResolveException getFailure();
    
        /**
         * @throws ArtifactResolveException If the resolution was unsuccessful.
         */
        @Override
        ResolvableArtifact getResult() throws ArtifactResolveException;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top