report.setMessage(localStrings.getLocalString("port.in.use",
"Port [{0}] is already taken for address [{1}], please choose another port.", port, address));
report.setActionExitCode(ActionReport.ExitCode.FAILURE);
return;
}
Protocol prot = networkConfig.findProtocol(protocol);
if (prot == null) {
report.setMessage(localStrings.getLocalString("create.http.fail.protocolnotfound",
"The specified protocol {0} is not yet configured", protocol));
report.setActionExitCode(ActionReport.ExitCode.FAILURE);
return;