Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 132 for getFailure (0.21 sec)

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

            return locations;
        }
    
        @Override
        public List<Solution> getSolutions() {
            return solutions;
        }
    
        @Nullable
        @Override
        public FailureContainer getFailure() {
            return failure;
        }
    
        @Override
        public AdditionalData getAdditionalData() {
            return additionalData;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/exception/AbstractResolutionFailureException.java

            LOGGER.info("Variant Selection Exception: {} caused by Resolution Failure: {}", this.getClass().getName(), failure.getClass().getName());
        }
    
        public ResolutionFailure getFailure() {
            return failure;
        }
    
        @Override
        public ImmutableList<String> getResolutions() {
            return resolutions;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/flow/FlowProviders.java

         *                 flowProviders.getBuildWorkResult().map(result -&gt;
         *                     new File(
         *                         soundsDir,
         *                         result.getFailure().isPresent() ? "sad-trombone.mp3" : "tada.mp3"
         *                     )
         *                 )
         *             )
         *         );
         *     }
         * }
         * </pre>
         *
         * @see FlowAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/TextDependencyVerificationReportRenderer.java

            if (inMultiErrors) {
                formatter.node("");
            }
            formatter.append("in repository '" + failure.getRepositoryName() + "': ");
            failure.getFailure().explainTo(formatter);
        }
    
        @Override
        public void reportAsMultipleErrors(Runnable action) {
            formatter.append("multiple problems reported:");
            formatter.startChildren();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/exec/BuildActionResult.java

        public boolean wasCancelled() {
            return wasCancelled;
        }
    
        @Nullable
        public SerializedPayload getResult() {
            return result;
        }
    
        @Nullable
        public SerializedPayload getFailure() {
            return serializedFailure;
        }
    
        @Nullable
        public RuntimeException getException() {
            return failure;
        }
    
        public boolean hasFailure() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ClientForwardingBuildOperationListener.java

            return new DefaultOperationDescriptor(id, name, displayName, parentId);
        }
    
        static AbstractOperationResult toOperationResult(OperationFinishEvent result) {
            Throwable failure = result.getFailure();
            long startTime = result.getStartTime();
            long endTime = result.getEndTime();
            if (failure != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/result/DefaultBuildableComponentResolveResult.java

        public ComponentGraphSpecificResolveState getGraphState() throws ModuleVersionResolveException {
            assertResolved();
            return graphState;
        }
    
        @Override
        public ModuleVersionResolveException getFailure() {
            assertHasResult();
            return failure;
        }
    
        private void assertResolved() {
            assertHasResult();
            if (failure != null) {
                throw failure;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/DependencyResultSerializer.java

            encoder.writeSmallLong(value.getSelector().getResultId());
            encoder.writeBoolean(value.isConstraint());
            encoder.writeSmallLong(value.getFromVariant());
            if (value.getFailure() == null) {
                if (value.getSelectedVariant() != null) {
                    encoder.writeByte(SUCCESSFUL);
                    encoder.writeSmallLong(value.getSelected());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskState.java

        boolean getExecuted();
    
        /**
         * Returns the exception describing the task failure, if any.
         *
         * @return The exception, or null if the task did not fail.
         */
        @Nullable
        Throwable getFailure();
    
        /**
         * Throws the task failure, if any. Does nothing if the task did not fail.
         */
        void rethrowFailure();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 05 07:18:07 UTC 2018
    - 2.6K bytes
    - Viewed (0)
Back to top