Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for setFailure (0.15 sec)

  1. 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)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/ProblemContext.java

         * <br>
         * <code>null</code> if run against a Gradle version prior to 8.7
         *
         * @return the failure
         * @since 8.8
         */
        @Nullable
        FailureContainer getFailure();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 12:26:28 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/internal/DynamicProblemOperationContext.java

        }
    
        @Override
        public List<Solution> getSolutions() {
            throw new UnsupportedOperationException();
        }
    
        @Nullable
        @Override
        public FailureContainer getFailure() {
            throw new UnsupportedOperationException();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 12:26:28 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/SingleProblemEvent.java

         */
        List<Solution> getSolutions();
    
        /**
         * Returns the failure associated with this problem.
         *
         * @return the failure
         * @since 8.8
         */
        @Nullable
        FailureContainer getFailure();
    
        /**
         * Returns the additional data associated with this problem.
         *
         * @return the additional data
         * @since 8.9
         */
        AdditionalData getAdditionalData();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/internal/DefaultProblemsOperationContext.java

            return solutions;
        }
    
        public AdditionalData getAdditionalData() {
            return additionalData;
        }
    
        @Nullable
        @Override
        public FailureContainer getFailure() {
            return failure;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 12:26:28 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ResolutionResultGraphBuilder.java

                }
                if (d.getFailure() != null) {
                    dependencyResult = dependencyResultFactory.createUnresolvedDependency(d.getRequested(), fromComponent, d.isConstraint(), d.getReason(), d.getFailure());
                } else {
                    DefaultResolvedComponentResult selectedComponent = components.get(d.getSelected().longValue());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. platforms/ide/problems-api/src/main/java/org/gradle/internal/problems/NoOpProblemDiagnosticsFactory.java

    public class NoOpProblemDiagnosticsFactory implements ProblemDiagnosticsFactory {
        public static final ProblemDiagnostics EMPTY_DIAGNOSTICS = new ProblemDiagnostics() {
            @Nullable
            @Override
            public Failure getFailure() {
                return null;
            }
    
            @Nullable
            @Override
            public Throwable getException() {
                return null;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:13:26 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultProblemDetails.java

            return definition;
        }
    
    
        @Override
        public List<InternalSolution> getSolutions() {
            return solutions;
        }
    
        @Nullable
        @Override
        public InternalFailure getFailure() {
            return failure;
        }
    
        @Override
        public InternalAdditionalData getAdditionalData() {
            return additionalData;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 09:50:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultInternalProblemContextDetails.java

            return locations;
        }
    
        @Override
        public List<InternalSolution> getSolutions() {
            return solutions;
        }
    
        @Nullable
        @Override
        public InternalFailure getFailure() {
            return failure;
        }
    
        @Nullable
        @Override
        public InternalContextualLabel getContextualLabel() {
            return contextualLabel;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 09:50:20 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. platforms/ide/problems-api/src/main/java/org/gradle/problems/ProblemDiagnostics.java

         * <p>
         * The failure can also be omitted due to limits. Its absence does not mean there was no exception causing the problem.
         */
        @Nullable
        Failure getFailure();
    
        /**
         * Returns an exception that can be thrown when this problem should result in an error.
         *
         * <p>Not every problem has a useful exception associated with it.</p>
         */
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:13:26 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top