Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for LockOutOfDateException (0.28 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/LockOutOfDateException.java

    import java.util.List;
    
    import static java.util.Collections.emptyList;
    
    public class LockOutOfDateException extends GraphValidationException {
    
        private final List<String> errors;
    
        public LockOutOfDateException(String message) {
            super(message);
            this.errors = emptyList();
        }
    
        public List<String> getErrors() {
            return errors;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 30 12:42:26 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/ResolutionErrorRenderer.java

            if (cause instanceof VersionConflictException) {
                handleConflict((VersionConflictException) cause);
            } else if (cause instanceof LockOutOfDateException) {
                handleOutOfDateLocks((LockOutOfDateException) cause);
            } else {
                // Fallback to failing the task in case we don't know anything special
                // about the error
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 17:52:50 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/DependencyLockingGraphVisitorTest.groovy

            given:
            def id = newId(mid, '1.1')
            startWithState([id])
            addVisitedNode(id)
    
            when:
            visitor.finish(rootNode)
    
            then:
            notThrown(LockOutOfDateException)
        }
    
        def 'generates failures when extra modules visited'() {
            given:
            startWithState([])
            addVisitedNode(newId(mid, '1.0'))
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/DependencyLockingGraphVisitor.java

                completedFailures.add(new DefaultUnresolvedDependency(DefaultModuleVersionSelector.newSelector(presentInLock.getModuleIdentifier(), presentInLock.getVersion()),
                                      new LockOutOfDateException("Did not resolve '" + presentInLock.getDisplayName() + "' which is part of the dependency lock state")));
            }
            for (ModuleComponentIdentifier extraModule : extraModules) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top