* If there is an issue with the parameters provided\r
*/\r
public void initSdc() throws SdcControllerException {\r
* If there is an issue with the parameters provided\r
*/\r
public void initSdc() throws SdcControllerException {\r
if (this.getControllerStatus() != SdcSingleControllerStatus.STOPPED) {\r
throw new SdcControllerException("The controller is already initialized, call the closeSDC method first");\r
}\r
if (this.getControllerStatus() != SdcSingleControllerStatus.STOPPED) {\r
throw new SdcControllerException("The controller is already initialized, call the closeSDC method first");\r
}\r
throw new SdcControllerException("Initialization of the SDC Controller failed with reason: "\r
+ result.getDistributionMessageResult());\r
}\r
throw new SdcControllerException("Initialization of the SDC Controller failed with reason: "\r
+ result.getDistributionMessageResult());\r
}\r
result = this.distributionClient.start();\r
if (!result.getDistributionActionResult().equals(DistributionActionResultEnum.SUCCESS)) {\r
logger.error("SDC distribution client start failed with reason:" + result.getDistributionMessageResult());\r
result = this.distributionClient.start();\r
if (!result.getDistributionActionResult().equals(DistributionActionResultEnum.SUCCESS)) {\r
logger.error("SDC distribution client start failed with reason:" + result.getDistributionMessageResult());\r
throw new SdcControllerException(\r
"Startup of the SDC Controller failed with reason: " + result.getDistributionMessageResult());\r
}\r
throw new SdcControllerException(\r
"Startup of the SDC Controller failed with reason: " + result.getDistributionMessageResult());\r
}\r