Package org.gradle.launcher.daemon.protocol

Examples of org.gradle.launcher.daemon.protocol.CommandFailure


        execution.proceed();

        Result result;
        Throwable commandException = execution.getException();
        if (commandException != null) {
            result = new CommandFailure(commandException);
        } else {
            result = new Success(execution.getResult());
        }

        LOGGER.debug("Daemon is dispatching the build result: {}", result);
View Full Code Here


            stateCoordinator.runCommand(command, execution.toString());
        } catch (DaemonUnavailableException e) {
            LOGGER.info("Daemon will not handle the command {} because is unavailable: {}", build, e.getMessage());
            execution.getConnection().daemonUnavailable(new DaemonUnavailable(e.getMessage()));
        } catch (DaemonStoppedException e) {
            execution.getConnection().completed(new CommandFailure(e));
        }
    }
View Full Code Here

TOP

Related Classes of org.gradle.launcher.daemon.protocol.CommandFailure

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.