Exception ex = new Exception("Was not expecting response " + shellResponse.response);
throw new CommandException(ErrorKind.EVALUATION, "Failure when evaluating '" + request + "' in script " + name, ex);
} else if (response instanceof ReplResponse.Invoke) {
ReplResponse.Invoke invokeResponse = (ReplResponse.Invoke)response;
CommandInvoker invoker = invokeResponse.invoker;
invoker.invoke(consumer);
}
}
//
try {