Search in sources :

Example 1 with ExecutionException

use of org.eclipse.che.plugin.maven.server.execution.ExecutionException in project che by eclipse.

the class RmiClient method startProcess.

private void startProcess(Pair<Object, Object> key) {
    ProcessHandler handler;
    try {
        ProcessExecutor executor = getExecutor();
        handler = executor.execute();
    } catch (ExecutionException e) {
        removeProcessInfo(key, null, e.getMessage());
        return;
    }
    handler.addProcessListener(getProcessListener(key));
    handler.startNotify();
}
Also used : ProcessHandler(org.eclipse.che.plugin.maven.server.execution.ProcessHandler) ProcessExecutor(org.eclipse.che.plugin.maven.server.execution.ProcessExecutor) ExecutionException(org.eclipse.che.plugin.maven.server.execution.ExecutionException)

Aggregations

ExecutionException (org.eclipse.che.plugin.maven.server.execution.ExecutionException)1 ProcessExecutor (org.eclipse.che.plugin.maven.server.execution.ProcessExecutor)1 ProcessHandler (org.eclipse.che.plugin.maven.server.execution.ProcessHandler)1