Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DaemonUnavailableException (0.29 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java

                    case Broken:
                        throw new DaemonUnavailableException("This daemon is in a broken state and will stop.");
                    case StopRequested:
                        throw new DaemonUnavailableException("This daemon is currently stopping.");
                    case Stopped:
                    case ForceStopped:
                        throw new DaemonUnavailableException("This daemon has stopped.");
                    case Busy:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

            then:
            DaemonUnavailableException e = thrown()
            e.message == 'This daemon has stopped.'
        }
    
        def "cannot run command after stopped"() {
            Runnable command = Mock()
    
            given:
            coordinator.requestStop("REASON")
    
            when:
            coordinator.runCommand(command, "command")
    
            then:
            DaemonUnavailableException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top