report.setActionExitCode(ActionReport.ExitCode.FAILURE);
report.setFailureCause(e);
return;
}
} else if (isAll && !dryRun) {
report.appendMessage(localStrings.getLocalString("create.module.config.creating.all",
"Creating all default configuration elements that are not present in the domain.xml under target {0}.", target));
report.appendMessage(LINE_SEPARATOR);
try {
createAllMissingElements(report);
} catch (Exception e) {