FileUtility.renameTemporaryFile(tmpFile, inputCommand.getOutputFile(), inputCommand.isOverwrite());
LOG.debug("File " + inputCommand.getOutputFile().getCanonicalPath() + " created.");
LOG.info("Alternate mix with step first document " + inputCommand.getStep()
+ " and step second document " + inputCommand.getSecondStep() + " completed.");
} catch (Exception e) {
throw new MixException(e);
} finally {
setWorkCompleted();
}
} else {
throw new ConsoleException(ConsoleException.ERR_BAD_COMMAND);